src/eric7/Preferences/ConfigurationPages/InterfacePage.py

branch
eric7
changeset 11006
a671918232f3
parent 10949
2057b1b198a5
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
315 @pyqtSlot() 315 @pyqtSlot()
316 def on_iconBarButton_clicked(self): 316 def on_iconBarButton_clicked(self):
317 """ 317 """
318 Private slot to select the icon bar color. 318 Private slot to select the icon bar color.
319 """ 319 """
320 colDlg = QColorDialog(self) 320 colDlg = QColorDialog(parent=self)
321 # Set current colour last to avoid conflicts with alpha channel 321 # Set current colour last to avoid conflicts with alpha channel
322 colDlg.setCurrentColor(self.__iconBarColor) 322 colDlg.setCurrentColor(self.__iconBarColor)
323 if colDlg.exec() == QDialog.DialogCode.Accepted: 323 if colDlg.exec() == QDialog.DialogCode.Accepted:
324 self.__iconBarColor = colDlg.selectedColor() 324 self.__iconBarColor = colDlg.selectedColor()
325 self.__setIconBarSamples() 325 self.__setIconBarSamples()

eric ide

mercurial