The PrefColorButton 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. | |
| PrefColorButton (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 | ~PrefColorButton () |
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 PrefColorButton class.
Definition at line 322 of file PrefWidgets.h.
| PrefColorButton::PrefColorButton | ( | QWidget * | parent = 0 |
) |
Definition at line 566 of file PrefWidgets.cpp.
| PrefColorButton::~PrefColorButton | ( | ) | [virtual] |
Definition at line 571 of file PrefWidgets.cpp.
| QByteArray PrefColorButton::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 610 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
| QByteArray PrefColorButton::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 615 of file PrefWidgets.cpp.
| void PrefColorButton::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 575 of file PrefWidgets.cpp.
References FemExample::b, Gui::ColorButton::color(), Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Gui::ColorButton::setColor().
| void PrefColorButton::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 595 of file PrefWidgets.cpp.
References Gui::ColorButton::color(), Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().
| void PrefColorButton::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 620 of file PrefWidgets.cpp.
| void PrefColorButton::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 625 of file PrefWidgets.cpp.
QByteArray Gui::PrefColorButton::prefEntry [read, write] |
Definition at line 326 of file PrefWidgets.h.
QByteArray Gui::PrefColorButton::prefPath [read, write] |
Definition at line 327 of file PrefWidgets.h.
1.6.1