Gui::Dialog::DlgGeneralImp Class Reference

This class implements the settings for the application. More...

#include <DlgGeneralImp.h>

Public Member Functions

 DlgGeneralImp (QWidget *parent=nullptr)
 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=nullptr)
 Construction. More...
 
virtual ~PreferencePage ()
 Destruction. More...
 

Protected Slots

void newPreferencePackDialogAccepted ()
 
void onLoadPreferencePackClicked (const std::string &packName)
 
void onManagePreferencePacksClicked ()
 
void recreatePreferencePackMenu ()
 

Protected Member Functions

void changeEvent (QEvent *e)
 
virtual void changeEvent (QEvent *e)=0
 

Additional Inherited Members

- Public Slots inherited from Gui::Dialog::PreferencePage
virtual void loadSettings ()=0
 
virtual void saveSettings ()=0
 

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

Author
Werner Mayer

Constructor & Destructor Documentation

◆ DlgGeneralImp()

DlgGeneralImp::DlgGeneralImp ( QWidget parent = nullptr)

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::PreferencePackManager::configBackups(), draftgeoutils.intersections::connect(), Gui::Application::Instance, onManagePreferencePacksClicked(), Gui::Application::prefPackManager(), recreatePreferencePackMenu(), 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()

void DlgGeneralImp::changeEvent ( QEvent e)
protectedvirtual

◆ loadSettings()

◆ newPreferencePackDialogAccepted

◆ onLoadPreferencePackClicked

void DlgGeneralImp::onLoadPreferencePackClicked ( const std::string &  packName)
protectedslot

◆ onManagePreferencePacksClicked

void DlgGeneralImp::onManagePreferencePacksClicked ( )
protectedslot

◆ recreatePreferencePackMenu

◆ saveSettings()


The documentation for this class was generated from the following files: