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=0) | |
Constructs a DlgSettingsLazyLoadedImp. More... | |
void | loadSettings () |
void | saveSettings () |
~DlgSettingsLazyLoadedImp () | |
Destroys the object and frees any allocated resources. More... | |
![]() | |
PreferencePage (QWidget *parent=0) | |
Construction. More... | |
virtual | ~PreferencePage () |
Destruction. More... | |
Protected Slots | |
void | onLoadClicked () |
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... | |
Additional Inherited Members | |
![]() |
Detailed Description
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.
Constructor & Destructor Documentation
◆ DlgSettingsLazyLoadedImp()
DlgSettingsLazyLoadedImp::DlgSettingsLazyLoadedImp | ( | QWidget * | parent = 0 | ) |
Constructs a DlgSettingsLazyLoadedImp.
References buildUnloadedWorkbenchList(), draftgeoutils.intersections::connect(), and onLoadClicked().
◆ ~DlgSettingsLazyLoadedImp()
DlgSettingsLazyLoadedImp::~DlgSettingsLazyLoadedImp | ( | ) |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ buildUnloadedWorkbenchList()
|
protected |
Build the list of unloaded workbenches.
References Gui::WorkbenchManager::getWorkbench(), Gui::Application::Instance, Gui::WorkbenchManager::instance(), Gui::Application::workbenches(), Gui::Application::workbenchIcon(), Gui::Application::workbenchMenuText(), and Gui::Application::workbenchToolTip().
Referenced by DlgSettingsLazyLoadedImp(), and onLoadClicked().
◆ changeEvent()
|
protectedvirtual |
Sets the strings of the subwidgets using the current language.
Implements Gui::Dialog::PreferencePage.
◆ loadSettings()
|
virtual |
Implements Gui::Dialog::PreferencePage.
◆ onLoadClicked
|
protectedslot |
◆ saveSettings()
|
virtual |
Implements Gui::Dialog::PreferencePage.
The documentation for this class was generated from the following files:
- Sources/FreeCAD/src/Gui/DlgSettingsLazyLoadedImp.h
- Sources/FreeCAD/src/Gui/DlgSettingsLazyLoadedImp.cpp