OSB_GUI::TpColor Class Reference

Inheritance diagram for OSB_GUI::TpColor:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::TpColor:

Collaboration graph
[legend]
List of all members.

Detailed Description

Show the color of a tariff period.

The palette background color is used to store the actual color.

Definition at line 125 of file tputils.h.

Public Slots

Signals

Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

OSB_GUI::TpColor::TpColor ( QWidget parent,
const char *  name = "tpColor_",
WFlags  fl = 0 
) [explicit]

Constructor with Qt standard arguments.

OSB_GUI::TpColor::TpColor ( const QColor &  color,
QWidget parent,
const char *  name = "tpColor_",
WFlags  fl = 0 
)

Constructor with color and Qt standard arguments.


Member Function Documentation

const QColor& OSB_GUI::TpColor::color (  )  const

Get the color.

void OSB_GUI::TpColor::keyPressEvent ( QKeyEvent *  e  )  [private]

Select the color by keyboard: Enter, Return or Space.

void OSB_GUI::TpColor::mouseReleaseEvent ( QMouseEvent *  e  )  [private]

Select the color by mouse.

void OSB_GUI::TpColor::paintEvent ( QPaintEvent *   )  [private]

Paint the widget.

void OSB_GUI::TpColor::selectColor (  )  [slot]

Select the color.

void OSB_GUI::TpColor::setColor ( const QColor &  color  ) 

Set the color.

void OSB_GUI::TpColor::sigSelect (  )  [signal]

Request to select the color.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:22:24 2006 for OSB Library by  doxygen 1.4.7