OSB_GUI::DlgToVs Class Reference

Inheritance diagram for OSB_GUI::DlgToVs:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Base dialog to show and configure a OSB_LIB::ToVersion.

Definition at line 68 of file dlgtovs.h.

Public Member Functions

Protected Member Functions

Protected Attributes

Private Member Functions


Constructor & Destructor Documentation

OSB_GUI::DlgToVs::DlgToVs ( QWidget parent,
const char *  name = "DlgToVs",
bool  modal = false,
WFlags  fl = 0 
) [explicit]

Constructor with Qt arguments.


Member Function Documentation

virtual void OSB_GUI::DlgToVs::addGeneralInfo ( QVBoxLayout *  dlgLayout,
ToVsHead generalInfo 
) [protected, pure virtual]

Add the general information to the dialog.

Parameters:
dlgLayout Layout of the base dialog (DlgToVs).
generalInfo Widget to handle general information.

Implemented in OSB_GUI::DlgScsVs, OSB_GUI::DlgDistTcs, OSB_GUI::DlgMappingTcs, OSB_GUI::DlgTfVs, OSB_GUI::DlgTpsVs, and OSB_GUI::DlgTsVs.

virtual bool OSB_GUI::DlgToVs::dirty (  )  const [virtual]

Editable widgets modified?

Reimplemented in OSB_GUI::DlgTpsVs, and OSB_GUI::DlgTsVs.

void OSB_GUI::DlgToVs::display ( const OSB_LIB::ToVersion toVs,
bool  showOnly 
) [protected]

Set widgets for a tariff version.

Parameters:
toVs Tariff object version to display.
showOnly Flag if the tariff version is only displayed.
Handles the push buttons and wraps to ToVsHead::display().

QVBoxLayout* OSB_GUI::DlgToVs::dlgLayout (  )  [protected]

Main layout of the dialog.

virtual void OSB_GUI::DlgToVs::languageChange (  )  [protected, virtual]

Process a language change.

Reimplemented in OSB_GUI::DlgScsVs, OSB_GUI::DlgDistTcs, OSB_GUI::DlgMappingTcs, OSB_GUI::DlgTfVs, OSB_GUI::DlgTpsVs, and OSB_GUI::DlgTsVs.

LeId& OSB_GUI::DlgToVs::leId (  )  [protected]

Access to id lineedit.

This is needed so that derived classes can set the object id.

void OSB_GUI::DlgToVs::polish (  )  [protected]

Finalize initialization.

Calls addGeneralInfo() so that derived classes can add header_ to the dialog layout.

virtual void OSB_GUI::DlgToVs::reject (  )  [private, virtual]

Reject the dialog, but only after user confirmation.

std::string OSB_GUI::DlgToVs::toVsName (  )  const

Get the name for the tariff object version.


Member Data Documentation

ToVsHead* OSB_GUI::DlgToVs::header_ [protected]

Widget with general information.

The widget is created without parent and maintained by this base class.
Derived classes have to add the widget in addGeneralInfo().

Definition at line 131 of file dlgtovs.h.


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