This class implements the settings for the application. More...
#include <DlgGeneralImp.h>
Public Member Functions | |
DlgGeneralImp (QWidget *parent=0) | |
Constructs a DlgGeneralImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
void | loadSettings () |
void | saveSettings () |
~DlgGeneralImp () | |
Destroys the object and frees any allocated resources. More... | |
Public Member Functions inherited from Gui::Dialog::PreferencePage | |
PreferencePage (QWidget *parent=0) | |
Construction. More... | |
virtual | ~PreferencePage () |
Destruction. More... | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Additional Inherited Members | |
Public Slots inherited from Gui::Dialog::PreferencePage |
Detailed Description
This class implements the settings for the application.
You can change window style, size of pixmaps, size of recent file list and so on
Constructor & Destructor Documentation
◆ DlgGeneralImp()
DlgGeneralImp::DlgGeneralImp | ( | QWidget * | parent = 0 | ) |
Constructs a DlgGeneralImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
The dialog will by default be modeless, unless you set 'modal' to true to construct a modal dialog.
References Gui::Application::Instance, Gui::Application::workbenches(), Gui::Application::workbenchIcon(), and Gui::Application::workbenchMenuText().
◆ ~DlgGeneralImp()
DlgGeneralImp::~DlgGeneralImp | ( | ) |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ changeEvent()
|
protectedvirtual |
Implements Gui::Dialog::PreferencePage.
◆ loadSettings()
|
virtual |
Implements Gui::Dialog::PreferencePage.
References App::Application::Config(), App::GetApplication(), ParameterGrp::GetASCII(), ParameterGrp::GetBool(), Gui::WindowParameter::getDefaultParameter(), ParameterGrp::GetGroup(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), Gui::Translator::instance(), and Gui::Translator::supportedLocales().
◆ saveSettings()
|
virtual |
Implements Gui::Dialog::PreferencePage.
References Gui::Translator::activateLanguage(), App::GetApplication(), ParameterGrp::GetASCII(), ParameterGrp::GetBool(), Gui::WindowParameter::getDefaultParameter(), Gui::DockWindowManager::getDockWindow(), ParameterGrp::GetGroup(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), App::Application::GetUserParameter(), Gui::Translator::instance(), Gui::DockWindowManager::instance(), Gui::Application::Instance, ParameterGrp::SetASCII(), ParameterGrp::SetBool(), ParameterGrp::SetInt(), and Gui::Application::setStyleSheet().
The documentation for this class was generated from the following files:
- src/Gui/DlgGeneralImp.h
- src/Gui/DlgGeneralImp.cpp