Trees | Indices | Help |
|
---|
|
PyQt4.QtGui.QDialog --+ | ColorChooserPanel
A window that lets the user choose a Maestro color. The window simply consists of a table with cells colored by each known Maestro color. The user chooses the color by clicking on the cell.
Easiest use is to access this via the get_color() function, which creates the panel, displays it and returns the chosen color Maestro name and RGBA values.
|
|||
|
|||
|
|
Create a ColorChoosePanel instance
|
Sets the self.picked_color attribute to the (color name, RGBA) tuple selected by the user. RGBA is a tuple of 4 integers giving the red, green, blue and alpha values of the color. This then closes the window. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:23 2015 | http://epydoc.sourceforge.net |