BALL 1.5.0
|
#include <BALL/VIEW/DIALOGS/openSavePreferences.h>
Public Member Functions | |
OpenSavePreferences (QWidget *parent=0, const char *name="Open/Save Preferences", Qt::WindowFlags fl=0) | |
~OpenSavePreferences () override | |
void | restoreDefaultValues (bool all=false) override |
Set all registered objects to their default values. More... | |
void | restoreValues (bool all=false) override |
void | storeValues () override |
bool | binaryProjectsEnabled () |
![]() | |
PreferencesEntry () | |
virtual | ~PreferencesEntry () |
virtual void | writePreferenceEntries (INIFile &inifile) |
Store the settings of all registered objects. More... | |
virtual void | readPreferenceEntries (const INIFile &inifile) |
Restore the settings of all registered objects. More... | |
void | setINIFileSectionName (const String &name) |
Set the name for the section in the INIFile. More... | |
const String & | getINIFileSectionName () const |
Get the name for the section in the INIFile. More... | |
void | setWidgetStackName (const String &name) |
StackPages & | getStackPages () |
Return all pages, that are to be shown in a parent QStackedWidget. More... | |
void | setWidgetStack (QStackedWidget *stack) |
virtual void | showStackPage (Position nr) |
Show the specified page in the QStackedWidget. More... | |
virtual void | showStackPage (QWidget *widget) |
Show the specified page in the QStackedWidget. More... | |
virtual Position | currentStackPage () const |
Get the currently shown page in the QStackedWidget. More... | |
virtual void | restoreDefaultValues (bool all=false) |
Set all registered objects to their default values. More... | |
virtual void | storeValues () |
virtual void | restoreValues (bool all=false) |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
virtual bool | setValueAllowed (QObject *) |
Allows to prevent restoring of widgets. More... | |
Definition at line 16 of file openSavePreferences.h.
BALL::VIEW::OpenSavePreferences::OpenSavePreferences | ( | QWidget * | parent = 0 , |
const char * | name = "Open/Save Preferences" , |
||
Qt::WindowFlags | fl = 0 |
||
) |
|
override |
bool BALL::VIEW::OpenSavePreferences::binaryProjectsEnabled | ( | ) |
|
overridevirtual |
Set all registered objects to their default values.
Reimplemented from BALL::VIEW::PreferencesEntry.
|
overridevirtual |
Restore the values of the child widgets. Called e.g. when a user presses a Cancel button.
Reimplemented from BALL::VIEW::PreferencesEntry.
|
overridevirtual |
Store the values for later restoration by the restoreValues method. Called e.g. by the Preferences dialog apply button.
Reimplemented from BALL::VIEW::PreferencesEntry.