QtiPlot 0.9.7.3
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:
parentparent 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

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: