#include <DlgSettingsUnitsImp.h>
Public Slots | |
void | on_comboBox_ViewSystem_currentIndexChanged (int index) |
Public Slots inherited from Gui::Dialog::PreferencePage | |
virtual void | loadSettings ()=0 |
virtual void | saveSettings ()=0 |
Public Member Functions | |
DlgSettingsUnitsImp (QWidget *parent=nullptr) | |
Constructs a DlgSettingsUnitsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
void | loadSettings () |
void | saveSettings () |
~DlgSettingsUnitsImp () | |
Destroys the object and frees any allocated resources. More... | |
Public Member Functions inherited from Gui::Dialog::PreferencePage | |
PreferencePage (QWidget *parent=nullptr) | |
Construction. More... | |
virtual | ~PreferencePage () |
Destruction. More... | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Sets the strings of the subwidgets using the current language. More... | |
virtual void | changeEvent (QEvent *e)=0 |
DlgSettingsUnitsImp::DlgSettingsUnitsImp | ( | QWidget * | parent = nullptr | ) |
Constructs a DlgSettingsUnitsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_FracInch, Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, Base::UnitsApi::getDescription(), Base::NumUnitSystemTypes, Gui::Dialog::Ui_DlgSettingsUnits::setupUi(), Gui::Dialog::Ui_DlgSettingsUnits::spinBoxDecimals, and Gui::Dialog::Ui_DlgSettingsUnits::tableWidget.
DlgSettingsUnitsImp::~DlgSettingsUnitsImp | ( | ) |
Destroys the object and frees any allocated resources.
|
protectedvirtual |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, and Gui::Dialog::Ui_DlgSettingsUnits::retranslateUi().
|
virtual |
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_FracInch, Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, App::GetApplication(), Base::UnitsApi::getDecimals(), Base::QuantityFormat::getDefaultDenominator(), ParameterGrp::GetInt(), App::Application::GetParameterGroupByPath(), and Gui::Dialog::Ui_DlgSettingsUnits::spinBoxDecimals.
|
slot |
|
virtual |
Implements Gui::Dialog::PreferencePage.
References Gui::Dialog::Ui_DlgSettingsUnits::comboBox_FracInch, Gui::Dialog::Ui_DlgSettingsUnits::comboBox_ViewSystem, App::GetApplication(), App::Application::GetParameterGroupByPath(), Base::UnitsApi::setDecimals(), Base::QuantityFormat::setDefaultDenominator(), ParameterGrp::SetInt(), and Gui::Dialog::Ui_DlgSettingsUnits::spinBoxDecimals.