The PrefCheckBox class. More...
#include <PrefWidgets.h>
Public Member Functions | |
QByteArray | entryName () const |
Returns the widget's preference name. | |
QByteArray | paramGrpPath () const |
Returns the widget's preferences path. | |
PrefCheckBox (QWidget *parent=0) | |
void | setEntryName (const QByteArray &name) |
Sets the preference name to name. | |
void | setParamGrpPath (const QByteArray &name) |
Sets the preference path to path. | |
virtual | ~PrefCheckBox () |
Protected Member Functions | |
void | restorePreferences () |
Restores the preferences Must be reimplemented in any subclasses. | |
void | savePreferences () |
Save the preferences Must be reimplemented in any subclasses. | |
Properties | |
QByteArray | prefEntry |
QByteArray | prefPath |
The PrefCheckBox class.
Definition at line 235 of file PrefWidgets.h.
PrefCheckBox::PrefCheckBox | ( | QWidget * | parent = 0 |
) |
Definition at line 404 of file PrefWidgets.cpp.
PrefCheckBox::~PrefCheckBox | ( | ) | [virtual] |
Definition at line 409 of file PrefWidgets.cpp.
QByteArray PrefCheckBox::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 436 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
QByteArray PrefCheckBox::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 441 of file PrefWidgets.cpp.
void PrefCheckBox::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 413 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().
void PrefCheckBox::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 425 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().
void PrefCheckBox::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 446 of file PrefWidgets.cpp.
void PrefCheckBox::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 451 of file PrefWidgets.cpp.
QByteArray Gui::PrefCheckBox::prefEntry [read, write] |
Definition at line 239 of file PrefWidgets.h.
QByteArray Gui::PrefCheckBox::prefPath [read, write] |
Definition at line 240 of file PrefWidgets.h.