#include <ConfigDialog.h>
Classes | |
struct | WidgetCache |
Public Member Functions | |
ConfigPage (QString title=QString(), QWidget *parent=0) | |
~ConfigPage () | |
Protected Member Functions | |
virtual void | discardChanges () |
virtual void | flushCache () |
QCheckBox * | newCheckbox (QString label, QString ID, bool checked=false) |
virtual void | readSettings () |
virtual void | reloadFromCache () |
virtual void | saveState () |
virtual void | writeSettings () |
Protected Attributes | |
std::map< QString, WidgetCache < bool > > | checkboxCache |
std::map< QString, WidgetCache < bool > > | checkboxCacheSave |
QVBoxLayout * | mainLayout |
Friends | |
class | ConfigDialog |
Definition at line 96 of file ConfigDialog.h.
Aseba::ConfigPage::ConfigPage | ( | QString | title = QString() , |
QWidget * | parent = 0 |
||
) |
Definition at line 57 of file ConfigDialog.cpp.
Aseba::ConfigPage::~ConfigPage | ( | ) | [inline] |
Definition at line 102 of file ConfigDialog.h.
void Aseba::ConfigPage::discardChanges | ( | ) | [protected, virtual] |
Definition at line 137 of file ConfigDialog.cpp.
void Aseba::ConfigPage::flushCache | ( | ) | [protected, virtual] |
Definition at line 125 of file ConfigDialog.cpp.
QCheckBox * Aseba::ConfigPage::newCheckbox | ( | QString | label, |
QString | ID, | ||
bool | checked = false |
||
) | [protected] |
Definition at line 74 of file ConfigDialog.cpp.
void Aseba::ConfigPage::readSettings | ( | ) | [protected, virtual] |
Reimplemented in Aseba::EditorPage, and Aseba::GeneralPage.
Definition at line 85 of file ConfigDialog.cpp.
void Aseba::ConfigPage::reloadFromCache | ( | ) | [protected, virtual] |
Definition at line 145 of file ConfigDialog.cpp.
void Aseba::ConfigPage::saveState | ( | ) | [protected, virtual] |
Definition at line 119 of file ConfigDialog.cpp.
void Aseba::ConfigPage::writeSettings | ( | ) | [protected, virtual] |
Reimplemented in Aseba::EditorPage, and Aseba::GeneralPage.
Definition at line 104 of file ConfigDialog.cpp.
friend class ConfigDialog [friend] |
Reimplemented in Aseba::EditorPage, and Aseba::GeneralPage.
Definition at line 104 of file ConfigDialog.h.
std::map<QString, WidgetCache<bool> > Aseba::ConfigPage::checkboxCache [protected] |
Definition at line 124 of file ConfigDialog.h.
std::map<QString, WidgetCache<bool> > Aseba::ConfigPage::checkboxCacheSave [protected] |
Definition at line 125 of file ConfigDialog.h.
QVBoxLayout* Aseba::ConfigPage::mainLayout [protected] |
Definition at line 127 of file ConfigDialog.h.