The DlgSettingsUnitsImp class implements a preference page to change settings for the Unit system. More...
#include <DlgSettingsUnitsImp.h>
Public Slots | |
| void | currentIndexChanged (int index) |
Public Member Functions | |
| DlgSettingsUnitsImp (QWidget *parent=0) | |
| Constructs a DlgSettingsUnitsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
| void | loadSettings () |
| void | saveSettings () |
| ~DlgSettingsUnitsImp () | |
| Destroys the object and frees any allocated resources. | |
Protected Member Functions | |
| void | changeEvent (QEvent *e) |
| Sets the strings of the subwidgets using the current language. | |
| void | fillUpListBox (void) |
| void | retranslate () |
The DlgSettingsUnitsImp class implements a preference page to change settings for the Unit system.
Definition at line 38 of file DlgSettingsUnitsImp.h.
| DlgSettingsUnitsImp::DlgSettingsUnitsImp | ( | QWidget * | parent = 0 |
) |
Constructs a DlgSettingsUnitsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
Definition at line 47 of file DlgSettingsUnitsImp.cpp.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, draftlibs::fcgeo::connect(), currentIndexChanged(), retranslate(), and Gui::Dialog::Ui_DlgSettingsUnits::setupUi().
| DlgSettingsUnitsImp::~DlgSettingsUnitsImp | ( | ) |
Destroys the object and frees any allocated resources.
Definition at line 63 of file DlgSettingsUnitsImp.cpp.
| void DlgSettingsUnitsImp::changeEvent | ( | QEvent * | e | ) | [protected, virtual] |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
Definition at line 111 of file DlgSettingsUnitsImp.cpp.
References retranslate(), and Gui::Dialog::Ui_DlgSettingsUnits::retranslateUi().
| void DlgSettingsUnitsImp::currentIndexChanged | ( | int | index | ) | [slot] |
Definition at line 80 of file DlgSettingsUnitsImp.cpp.
References fillUpListBox().
Referenced by DlgSettingsUnitsImp().
| void DlgSettingsUnitsImp::fillUpListBox | ( | void | ) | [protected] |
Definition at line 68 of file DlgSettingsUnitsImp.cpp.
References Gui::Dialog::Ui_DlgSettingsUnits::tableWidget.
Referenced by currentIndexChanged().
| void DlgSettingsUnitsImp::loadSettings | ( | ) | [virtual] |
Implements Gui::Dialog::PreferencePage.
Definition at line 100 of file DlgSettingsUnitsImp.cpp.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, App::GetApplication(), and App::Application::GetParameterGroupByPath().
| void DlgSettingsUnitsImp::retranslate | ( | ) | [protected] |
Definition at line 122 of file DlgSettingsUnitsImp.cpp.
Referenced by changeEvent(), and DlgSettingsUnitsImp().
| void DlgSettingsUnitsImp::saveSettings | ( | ) | [virtual] |
Implements Gui::Dialog::PreferencePage.
Definition at line 91 of file DlgSettingsUnitsImp.cpp.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, App::GetApplication(), and App::Application::GetParameterGroupByPath().
1.6.1