61 self.setStyleSheet( |
61 self.setStyleSheet( |
62 self.__styleSheetTemplate.format(self.__indicatorColors[strength]) |
62 self.__styleSheetTemplate.format(self.__indicatorColors[strength]) |
63 ) |
63 ) |
64 super().setValue((strength + 1) * self.__increment) |
64 super().setValue((strength + 1) * self.__increment) |
65 |
65 |
66 def setValue(self, value): |
66 def setValue(self, _value): |
67 """ |
67 """ |
68 Public method to set the value. |
68 Public method to set the value. |
69 |
69 |
70 Overwritten to do nothing. |
70 Overwritten to do nothing. |
71 |
71 |
72 @param value value |
72 @param _value value (unused) |
73 @type int |
73 @type int |
74 """ |
74 """ |
75 pass |
75 pass |
76 |
76 |
77 def setMaximum(self, value): |
77 def setMaximum(self, _value): |
78 """ |
78 """ |
79 Public method to set the maximum value. |
79 Public method to set the maximum value. |
80 |
80 |
81 Overwritten to do nothing. |
81 Overwritten to do nothing. |
82 |
82 |
83 @param value maximum value |
83 @param _value maximum value (unused) |
84 @type int |
84 @type int |
85 """ |
85 """ |
86 pass |
86 pass |
87 |
87 |
88 def setMinimum(self, value): |
88 def setMinimum(self, _value): |
89 """ |
89 """ |
90 Public method to set the minimal value. |
90 Public method to set the minimal value. |
91 |
91 |
92 Overwritten to do nothing. |
92 Overwritten to do nothing. |
93 |
93 |
94 @param value minimum value |
94 @param _value minimum value (unused) |
95 @type int |
95 @type int |
96 """ |
96 """ |
97 pass |
97 pass |
98 |
98 |
99 |
99 |