コード例 #1
0
 def btn_color(self, widget):
     self._button = widget
     self.colorpicker.setCurrentColor(utils.hex_to_qcolor(
         widget.data.color))
     self.colorpicker.open()
コード例 #2
0
ファイル: pkcharts.py プロジェクト: bewaywardman/pkmeter
 def attribute_colors(self, value):
     self.colors = [utils.hex_to_qcolor(v) for v in value.split(',')]
コード例 #3
0
ファイル: pkcharts.py プロジェクト: bewaywardman/pkmeter
 def attribute_bgcolor(self, value):
     self.bgcolor = utils.hex_to_qcolor(value)
コード例 #4
0
 def attribute_colors(self, value):
     self.colors = [utils.hex_to_qcolor(v) for v in value.split(',')]
コード例 #5
0
 def attribute_bgcolor(self, value):
     self.bgcolor = utils.hex_to_qcolor(value)
コード例 #6
0
ファイル: gcal.py プロジェクト: bewaywardman/pkmeter
 def btn_color(self, widget):
     self._button = widget
     self.colorpicker.setCurrentColor(utils.hex_to_qcolor(widget.data.color))
     self.colorpicker.open()