The PrefDoubleSpinBox 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. | |
PrefDoubleSpinBox (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 | ~PrefDoubleSpinBox () |
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 PrefDoubleSpinBox class.
Definition at line 119 of file PrefWidgets.h.
PrefDoubleSpinBox::PrefDoubleSpinBox | ( | QWidget * | parent = 0 |
) |
Definition at line 187 of file PrefWidgets.cpp.
PrefDoubleSpinBox::~PrefDoubleSpinBox | ( | ) | [virtual] |
Definition at line 192 of file PrefWidgets.cpp.
QByteArray PrefDoubleSpinBox::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 219 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
QByteArray PrefDoubleSpinBox::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 224 of file PrefWidgets.cpp.
void PrefDoubleSpinBox::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 196 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Py::value().
void PrefDoubleSpinBox::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 208 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Py::value().
void PrefDoubleSpinBox::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 229 of file PrefWidgets.cpp.
void PrefDoubleSpinBox::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 234 of file PrefWidgets.cpp.
QByteArray Gui::PrefDoubleSpinBox::prefEntry [read, write] |
Definition at line 123 of file PrefWidgets.h.
QByteArray Gui::PrefDoubleSpinBox::prefPath [read, write] |
Definition at line 124 of file PrefWidgets.h.