The DlgSettingsLazyLoadedImp class implements a pseudo-preference page explain why the remaining preference pages aren't loaded yet, and to help the user do so on demand. More...
#include <DlgSettingsLazyLoadedImp.h>
Public Member Functions | |
| DlgSettingsLazyLoadedImp (QWidget *parent=nullptr) | |
| Constructs a DlgSettingsLazyLoadedImp. More... | |
| void | loadSettings () |
| void | saveSettings () |
| ~DlgSettingsLazyLoadedImp () | |
| 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 | onLoadClicked (const QString &wbName) |
Protected Member Functions | |
| void | buildUnloadedWorkbenchList () |
| Build the list of unloaded workbenches. More... | |
| void | changeEvent (QEvent *e) |
| Sets the strings of the subwidgets using the current language. More... | |
| virtual void | changeEvent (QEvent *e)=0 |
Additional Inherited Members | |
Public Slots inherited from Gui::Dialog::PreferencePage | |
| virtual void | loadSettings ()=0 |
| virtual void | saveSettings ()=0 |
The DlgSettingsLazyLoadedImp class implements a pseudo-preference page explain why the remaining preference pages aren't loaded yet, and to help the user do so on demand.
| DlgSettingsLazyLoadedImp::DlgSettingsLazyLoadedImp | ( | QWidget * | parent = nullptr | ) |
Constructs a DlgSettingsLazyLoadedImp.
| DlgSettingsLazyLoadedImp::~DlgSettingsLazyLoadedImp | ( | ) |
Destroys the object and frees any allocated resources.
|
protected |
Build the list of unloaded workbenches.
References draftgeoutils.intersections::connect(), DraftVecUtils::find(), Gui::Application::Instance, Gui::WorkbenchManager::instance(), onLoadClicked(), Gui::Application::workbenches(), Gui::Application::workbenchIcon(), Gui::Application::workbenchMenuText(), and Gui::Application::workbenchToolTip().
Referenced by loadSettings(), and onLoadClicked().
|
protectedvirtual |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
|
virtual |
|
protectedslot |
|
virtual |
Implements Gui::Dialog::PreferencePage.
References App::GetApplication(), and App::Application::GetParameterGroupByPath().