99 if parent.isValid(): |
99 if parent.isValid(): |
100 return 0 |
100 return 0 |
101 else: |
101 else: |
102 return self.__manager.sitesCount() |
102 return self.__manager.sitesCount() |
103 |
103 |
104 def columnCount(self, parent=None): |
104 def columnCount(self, parent=None): # noqa: U100 |
105 """ |
105 """ |
106 Public method to get the number of columns of the model. |
106 Public method to get the number of columns of the model. |
107 |
107 |
108 @param parent parent index (QModelIndex) (Unused) |
108 @param parent parent index (QModelIndex) (Unused) |
109 @return number of columns (integer) |
109 @return number of columns (integer) |