144 Private slot to track changes of the alpha channel. |
144 Private slot to track changes of the alpha channel. |
145 |
145 |
146 @param val value of the alpha channel |
146 @param val value of the alpha channel |
147 """ |
147 """ |
148 if val != self.__currentAlpha: |
148 if val != self.__currentAlpha: |
149 col = QColor(self.__currentColor) |
149 col = QColor(self.__currentColor) |
150 col.setAlpha(val) |
150 col.setAlpha(val) |
151 self.colorSelected.emit(col) |
151 self.colorSelected.emit(col) |
152 |
152 |
153 def setCompositingMode(self, mode): |
153 def setCompositingMode(self, mode): |
154 """ |
154 """ |
155 Public method to set the compositing mode. |
155 Public method to set the compositing mode. |
156 |
156 |