OSB_GUI::TpInfoToggle Class Reference

Inheritance diagram for OSB_GUI::TpInfoToggle:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Toggable QFrame for tariff period name and id.

Definition at line 386 of file tpscfg.h.

Signals

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::TpInfoToggle::TpInfoToggle ( const OSB_LIB::TariffPeriod tp,
QWidget parent,
const char *  name = "tpInfo_",
WFlags  flags = 0 
) [explicit]

Constructor with tariff period and Qt arguments.


Member Function Documentation

void OSB_GUI::TpInfoToggle::leftClicked ( TpInfoToggle tpInfo  )  [signal]

Signal sent on left mouse clicks.

Parameters:
tpInfo Dereferenced this pointer.

void OSB_GUI::TpInfoToggle::leftClicked (  )  [private, virtual]

Handle left mouse clicks.

Emits leftClicked(TpInfoToggle&).

Reimplemented from OSB_GUI::ToggleFrame.

void OSB_GUI::TpInfoToggle::setLineWidth ( int  lw  ) 

Set the line width.

Parameters:
lw Line width of the frame, this also defines the margin of layout_.

void OSB_GUI::TpInfoToggle::setName ( const std::string &  name  ) 

Change the name of the tariff period.

std::string OSB_GUI::TpInfoToggle::text (  )  const

Get the tariff period name.

OSB_LIB::Id<OSB_LIB::TariffPeriod> OSB_GUI::TpInfoToggle::tpId (  )  const

Get the tariff period id.


Member Data Documentation

TpColor* OSB_GUI::TpInfoToggle::color_ [private]

Color of tariff period.

Definition at line 430 of file tpscfg.h.

QLabel* OSB_GUI::TpInfoToggle::label_ [private]

Name of tariff period.

Definition at line 428 of file tpscfg.h.

QHBoxLayout* OSB_GUI::TpInfoToggle::layout_ [private]

Layout of the frame.

Definition at line 432 of file tpscfg.h.

OSB_LIB::Id<OSB_LIB::TariffPeriod> OSB_GUI::TpInfoToggle::tpId_ [private]

Id to the tariff period.

Definition at line 426 of file tpscfg.h.


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