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 ColorBox::color(), colorChanged(), ColorBox::colorNames(), QtColorPicker::insertColor(), and ColorBox::numPredefinedColors().


Member Function Documentation

QColor ColorButton::color (  )  [inline]
void ColorButton::colorChanged (  )  [signal]

Referenced by ColorButton().

void ColorButton::setColor ( const QColor &  c  )  [inline]

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

Generated by  doxygen 1.6.2