ColorButton Class Reference

#include <ColorButton.h>

List of all members.


Detailed Description

A button used for color selection.

Signals

void colorChanged ()

Public Member Functions

QColor color ()
 Get the color of the display part.
 ColorButton (QWidget *parent=0)
 Constructor.
void setColor (const QColor &c)
 Set the color of the display part.

Private Slots

void pickColor ()

Private Member Functions

void updateColor ()

Private Attributes

QColor d_color

Constructor & Destructor Documentation

ColorButton::ColorButton ( QWidget *  parent = 0  ) 

Constructor.

References pickColor(), and updateColor().


Member Function Documentation

QColor ColorButton::color (  )  [inline]

void ColorButton::colorChanged (  )  [signal]

Referenced by setColor().

void ColorButton::pickColor (  )  [private, slot]

References d_color, and setColor().

Referenced by ColorButton().

void ColorButton::setColor ( const QColor &  c  ) 

void ColorButton::updateColor (  )  [private]

References d_color.

Referenced by ColorButton(), and setColor().


Member Data Documentation

QColor ColorButton::d_color [private]


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

Generated on Sun Jun 15 21:32:21 2008 for QtiPlot by  doxygen 1.5.6