The PrefSlider 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. | |
PrefSlider (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 | ~PrefSlider () |
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 PrefSlider class.
Definition at line 293 of file PrefWidgets.h.
PrefSlider::PrefSlider | ( | QWidget * | parent = 0 |
) |
Definition at line 512 of file PrefWidgets.cpp.
PrefSlider::~PrefSlider | ( | ) | [virtual] |
Definition at line 517 of file PrefWidgets.cpp.
QByteArray PrefSlider::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 544 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
QByteArray PrefSlider::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 549 of file PrefWidgets.cpp.
void PrefSlider::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 521 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Py::value().
void PrefSlider::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 533 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Py::value().
void PrefSlider::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 554 of file PrefWidgets.cpp.
void PrefSlider::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 559 of file PrefWidgets.cpp.
QByteArray Gui::PrefSlider::prefEntry [read, write] |
Definition at line 297 of file PrefWidgets.h.
QByteArray Gui::PrefSlider::prefPath [read, write] |
Definition at line 298 of file PrefWidgets.h.