Definition at line 68 of file dlgtovs.h.
OSB_GUI::DlgToVs::DlgToVs | ( | QWidget * | parent, | |
const char * | name = "DlgToVs" , |
|||
bool | modal = false , |
|||
WFlags | fl = 0 | |||
) | [explicit] |
Constructor with Qt arguments.
virtual void OSB_GUI::DlgToVs::addGeneralInfo | ( | QVBoxLayout * | dlgLayout, | |
ToVsHead * | generalInfo | |||
) | [protected, pure virtual] |
Add the general information to the dialog.
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] |
void OSB_GUI::DlgToVs::display | ( | const OSB_LIB::ToVersion & | toVs, | |
bool | showOnly | |||
) | [protected] |
Set widgets for a tariff version.
toVs | Tariff object version to display. | |
showOnly | Flag if the tariff version is only displayed. |
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.
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().