IconEditor/IconEditorPalette.py

changeset 3345
071afe8be2a1
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3343:f7a6d271bb40 3345:071afe8be2a1
72 self.__colorButton.setWhatsThis(self.tr( 72 self.__colorButton.setWhatsThis(self.tr(
73 """<b>Select Color</b>""" 73 """<b>Select Color</b>"""
74 """<p>Select the current drawing color via a color selection""" 74 """<p>Select the current drawing color via a color selection"""
75 """ dialog.</p>""" 75 """ dialog.</p>"""
76 )) 76 ))
77 self.__colorButton.clicked[()].connect(self.__selectColor) 77 self.__colorButton.clicked.connect(self.__selectColor)
78 self.__layout.addWidget(self.__colorButton) 78 self.__layout.addWidget(self.__colorButton)
79 79
80 self.__colorAlpha = QSpinBox(self) 80 self.__colorAlpha = QSpinBox(self)
81 self.__colorAlpha.setRange(0, 255) 81 self.__colorAlpha.setRange(0, 255)
82 self.__colorAlpha.setWhatsThis(self.tr( 82 self.__colorAlpha.setWhatsThis(self.tr(

eric ide

mercurial