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