Signals | Public Member Functions

ColorButton Class Reference

A customized QtColorPicker used for color selection. More...

#include <ColorButton.h>

Inheritance diagram for ColorButton:
QtColorPicker

List of all members.

Signals

void colorChanged ()

Public Member Functions

QColor color ()
 Get the current color.
 ColorButton (QWidget *parent=0)
 Constructor.
void setColor (const QColor &c)
 Set the current color to be displayed.

Detailed Description

A customized QtColorPicker used for color selection.


Constructor & Destructor Documentation

ColorButton::ColorButton ( QWidget *  parent = 0  ) 

Constructor.

Parameters:
parent parent widget (only affects placement of the widget)

References colorChanged(), ColorBox::colorList(), ColorBox::colorNames(), ColorBox::defaultColorNames(), ColorBox::defaultColors(), QtColorPicker::insertColor(), and ColorBox::numPredefinedColors().


Member Function Documentation

void ColorButton::colorChanged (  )  [signal]

Referenced by ColorButton().


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