IconEditor/IconEditorPalette.py

changeset 826
2e3e2055e715
parent 791
9ec2ac20e54e
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
825:9cdec3c5bc07 826:2e3e2055e715
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

eric ide

mercurial