My Project
 All Classes Files Functions Variables Enumerations Pages
Public Member Functions | Static Protected Member Functions | List of all members
Control Class Reference

Base class for other controls; useful for shared stuff. More...

#include <control.h>

Inheritance diagram for Control:
ControlAbout ControlRender ControlSave ControlTerrain

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...
 

Detailed Description

Base class for other controls; useful for shared stuff.

Member Function Documentation

QIcon Control::build_icon_of_colour ( const FloatRGBA col)
staticprotected

Utility function to build a small Qt icon of the specified colour.

Used when initialising colour-chooser buttons.


The documentation for this class was generated from the following files: