94 |
94 |
95 def columnCount(self, parent=None): # noqa: U100 |
95 def columnCount(self, parent=None): # noqa: U100 |
96 """ |
96 """ |
97 Public method to get the number of columns of the model. |
97 Public method to get the number of columns of the model. |
98 |
98 |
99 @param parent parent index (Unused) |
99 @param parent parent index (unused) |
100 @type QModelIndex |
100 @type QModelIndex |
101 @return number of columns |
101 @return number of columns |
102 @rtype int |
102 @rtype int |
103 """ |
103 """ |
104 return len(self.__headers) |
104 return len(self.__headers) |