24 @param parent DESCRIPTION |
24 @param parent DESCRIPTION |
25 @type TYPE |
25 @type TYPE |
26 """ |
26 """ |
27 super().__init__(parent) |
27 super().__init__(parent) |
28 |
28 |
29 def columnCount(self, index): # noqa: U100 |
29 def columnCount(self, _index): |
30 """ |
30 """ |
31 Public method to define the number of columns to be shown. |
31 Public method to define the number of columns to be shown. |
32 |
32 |
33 @param index index of the element |
33 @param _index index of the element (unused) |
34 @type QModelIndex |
34 @type QModelIndex |
35 @return column count (always 2) |
35 @return column count (always 2) |
36 @rtype int |
36 @rtype int |
37 """ |
37 """ |
38 return 2 |
38 return 2 |