Mercurial > fife-parpg
comparison demos/pychan_demo/colortester.py @ 590:59c92d10d7bc
- added label to colortester
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 13 Aug 2010 16:42:09 +0000 |
parents | db994c01cc9a |
children | 8c9cdcc9bc4f |
comparison
equal
deleted
inserted
replaced
589:d1df6cf5ff23 | 590:59c92d10d7bc |
---|---|
82 self.widget.findChild(name="example4").base_color = rgba | 82 self.widget.findChild(name="example4").base_color = rgba |
83 self.widget.findChild(name="example5").base_color = rgba | 83 self.widget.findChild(name="example5").base_color = rgba |
84 self.widget.findChild(name="example6").base_color = rgba | 84 self.widget.findChild(name="example6").base_color = rgba |
85 self.widget.findChild(name="example7").base_color = rgba | 85 self.widget.findChild(name="example7").base_color = rgba |
86 self.widget.findChild(name="example8").base_color = rgba | 86 self.widget.findChild(name="example8").base_color = rgba |
87 self.widget.findChild(name="example9").base_color = rgba | |
87 | 88 |
88 def update_background_color(self): | 89 def update_background_color(self): |
89 """ | 90 """ |
90 Update rgba background colors of all examples and show the values | 91 Update rgba background colors of all examples and show the values |
91 """ | 92 """ |
109 self.widget.findChild(name="example4").background_color = rgba | 110 self.widget.findChild(name="example4").background_color = rgba |
110 self.widget.findChild(name="example5").background_color = rgba | 111 self.widget.findChild(name="example5").background_color = rgba |
111 self.widget.findChild(name="example6").background_color = rgba | 112 self.widget.findChild(name="example6").background_color = rgba |
112 self.widget.findChild(name="example7").background_color = rgba | 113 self.widget.findChild(name="example7").background_color = rgba |
113 self.widget.findChild(name="example8").background_color = rgba | 114 self.widget.findChild(name="example8").background_color = rgba |
115 self.widget.findChild(name="example9").background_color = rgba |