IconEditor/IconEditorPalette.py

changeset 464
a2b1d1770ef0
parent 414
8c91e942d2da
child 495
b31b0bffa5b0
equal deleted inserted replaced
463:8d0309c4b7f6 464:a2b1d1770ef0
62 self.__colorButton = QPushButton(self.trUtf8("Select Color"), self) 62 self.__colorButton = QPushButton(self.trUtf8("Select Color"), self)
63 self.__colorButton.setWhatsThis(self.trUtf8( 63 self.__colorButton.setWhatsThis(self.trUtf8(
64 """<b>Select Color</b>""" 64 """<b>Select Color</b>"""
65 """<p>Select the current drawing color via a color selection dialog.</p>""" 65 """<p>Select the current drawing color via a color selection dialog.</p>"""
66 )) 66 ))
67 self.connect(self.__colorButton, SIGNAL("clicked()"), self.__selectColor) 67 self.__colorButton.clicked[()].connect(self.__selectColor)
68 self.__layout.addWidget(self.__colorButton) 68 self.__layout.addWidget(self.__colorButton)
69 69
70 self.__colorAlpha = QSpinBox(self) 70 self.__colorAlpha = QSpinBox(self)
71 self.__colorAlpha.setRange(0, 255) 71 self.__colorAlpha.setRange(0, 255)
72 self.__colorAlpha.setWhatsThis(self.trUtf8( 72 self.__colorAlpha.setWhatsThis(self.trUtf8(

eric ide

mercurial