The PrefComboBox 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. | |
PrefComboBox (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 | ~PrefComboBox () |
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 PrefComboBox class.
Definition at line 206 of file PrefWidgets.h.
PrefComboBox::PrefComboBox | ( | QWidget * | parent = 0 |
) |
Definition at line 350 of file PrefWidgets.cpp.
PrefComboBox::~PrefComboBox | ( | ) | [virtual] |
Definition at line 355 of file PrefWidgets.cpp.
QByteArray PrefComboBox::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 382 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
QByteArray PrefComboBox::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 387 of file PrefWidgets.cpp.
void PrefComboBox::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 359 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().
void PrefComboBox::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 371 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().
void PrefComboBox::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 392 of file PrefWidgets.cpp.
void PrefComboBox::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 397 of file PrefWidgets.cpp.
QByteArray Gui::PrefComboBox::prefEntry [read, write] |
Definition at line 210 of file PrefWidgets.h.
QByteArray Gui::PrefComboBox::prefPath [read, write] |
Definition at line 211 of file PrefWidgets.h.