ColorPushButton Class Reference

This class is a QPushButton with a single button color and a colored text. More...

#include <ColorPushButton.h>

List of all members.

Public Slots

void setColor (const QColor &color)
 sets the current button color to color
void setColorText (const QString &text, const QColor &color)
 sets the current button text to text with the color color

Signals

void colorChanged (const QColor &color)
 is send when the button color changed

Public Member Functions

 ColorPushButton (QWidget *parent)
 creates the color push button
const QColor & getColor ()
 returns the current button color

Detailed Description

This class is a QPushButton with a single button color and a colored text.


Constructor & Destructor Documentation

ColorPushButton::ColorPushButton ( QWidget *  parent  ) 

creates the color push button


Member Function Documentation

void ColorPushButton::colorChanged ( const QColor &  color  )  [signal]

is send when the button color changed

const QColor& ColorPushButton::getColor (  )  [inline]

returns the current button color

void ColorPushButton::setColor ( const QColor &  color  )  [slot]

sets the current button color to color

void ColorPushButton::setColorText ( const QString &  text,
const QColor &  color 
) [slot]

sets the current button text to text with the color color


The documentation for this class was generated from the following files:
Generated on Tue Jun 8 17:57:01 2010 for InfoVis - Stacked Graphs by  doxygen 1.6.3