216 |
216 |
217 self.setStyleSheet(EricIconBar.WidgetStyleSheetTemplate.format(color.name())) |
217 self.setStyleSheet(EricIconBar.WidgetStyleSheetTemplate.format(color.name())) |
218 |
218 |
219 label = self.__layout.itemAt(self.__currentIndex) |
219 label = self.__layout.itemAt(self.__currentIndex) |
220 if label: |
220 if label: |
221 label.widget().setStyleSheet( |
221 widget = label.widget() |
222 EricIconBar.LabelStyleSheetTemplate.format(self.__highlightColor.name()) |
222 if widget: |
223 ) |
223 widget.setStyleSheet( |
|
224 EricIconBar.LabelStyleSheetTemplate.format( |
|
225 self.__highlightColor.name() |
|
226 ) |
|
227 ) |
224 |
228 |
225 def color(self): |
229 def color(self): |
226 """ |
230 """ |
227 Public method to return the current color. |
231 Public method to return the current color. |
228 |
232 |