The PrefSpinBox 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. | |
| PrefSpinBox (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 | ~PrefSpinBox () |
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 PrefSpinBox class.
Definition at line 91 of file PrefWidgets.h.
| PrefSpinBox::PrefSpinBox | ( | QWidget * | parent = 0 |
) |
Definition at line 133 of file PrefWidgets.cpp.
| PrefSpinBox::~PrefSpinBox | ( | ) | [virtual] |
Definition at line 138 of file PrefWidgets.cpp.
| QByteArray PrefSpinBox::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 165 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
| QByteArray PrefSpinBox::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 170 of file PrefWidgets.cpp.
| void PrefSpinBox::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 142 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Py::value().
| void PrefSpinBox::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 154 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Py::value().
| void PrefSpinBox::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 175 of file PrefWidgets.cpp.
| void PrefSpinBox::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 180 of file PrefWidgets.cpp.
QByteArray Gui::PrefSpinBox::prefEntry [read, write] |
Definition at line 95 of file PrefWidgets.h.
QByteArray Gui::PrefSpinBox::prefPath [read, write] |
Definition at line 96 of file PrefWidgets.h.
1.6.1