Base class for other controls; useful for shared stuff. More...
#include <control.h>
Public Member Functions | |
void | pickColour (QPushButton *button, FloatRGBA &colour) |
Use Qt's colour-picking dialog to replace the referenced colour. | |
Static Protected Member Functions | |
static QIcon | build_icon_of_colour (const FloatRGBA &col) |
Utility function to build a small Qt icon of the specified colour. More... | |
Base class for other controls; useful for shared stuff.
|
staticprotected |
Utility function to build a small Qt icon of the specified colour.
Used when initialising colour-chooser buttons.