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( |