23 #include "configurationbasebox.h"
25 DClass<ConfigurationBaseBox>
29 bool bSettingsAlreadyRead;
37 d->bAllowSave =
false;
38 d->bSettingsAlreadyRead =
false;
42 ConfigurationBaseBox::~ConfigurationBaseBox()
53 return d->bSettingsAlreadyRead;
58 d->bSettingsAlreadyRead =
true;
bool areSettingsAlreadyRead()
true if settings for this page have already been loaded at least once.
virtual void saveSettings()=0
Reimplement this to write settings to config from widgets.
virtual QString name() const =0
Reimplement this to return a list-displayable name for this ConfigurationBaseBox. ...
bool save()
Save configuration from page contents to persistence.
void read()
Read configuration from persistence to page contents.
bool allowSave()
Does this page allow to save the new settings?
void setAllowSave(bool b)
Change whether settings on this page can be stored in persisting configuration.
virtual void readSettings()=0
Reimplement this to read settings from config into widgets.
virtual QString title() const
Page title, by default returns the same string as name().
Base class for configuration pages.