The PrefFileChooser 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. | |
PrefFileChooser (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 | ~PrefFileChooser () |
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 PrefFileChooser class.
Definition at line 177 of file PrefWidgets.h.
PrefFileChooser::PrefFileChooser | ( | QWidget * | parent = 0 |
) |
Definition at line 296 of file PrefWidgets.cpp.
PrefFileChooser::~PrefFileChooser | ( | ) | [virtual] |
Definition at line 301 of file PrefWidgets.cpp.
QByteArray PrefFileChooser::entryName | ( | ) | const [virtual] |
Returns the widget's preference name.
Reimplemented from Gui::PrefWidget.
Definition at line 328 of file PrefWidgets.cpp.
Referenced by restorePreferences(), and savePreferences().
QByteArray PrefFileChooser::paramGrpPath | ( | ) | const [virtual] |
Returns the widget's preferences path.
Reimplemented from Gui::PrefWidget.
Definition at line 333 of file PrefWidgets.cpp.
void PrefFileChooser::restorePreferences | ( | ) | [protected, virtual] |
Restores the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 305 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::FileChooser::fileName(), Gui::WindowParameter::getWindowParameter(), draftlibs::fcgeo::isNull(), and Gui::FileChooser::setFileName().
void PrefFileChooser::savePreferences | ( | ) | [protected, virtual] |
Save the preferences Must be reimplemented in any subclasses.
Implements Gui::PrefWidget.
Definition at line 317 of file PrefWidgets.cpp.
References Base::Console(), entryName(), Gui::FileChooser::fileName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().
void PrefFileChooser::setEntryName | ( | const QByteArray & | name | ) | [virtual] |
Sets the preference name to name.
Reimplemented from Gui::PrefWidget.
Definition at line 338 of file PrefWidgets.cpp.
void PrefFileChooser::setParamGrpPath | ( | const QByteArray & | path | ) | [virtual] |
Sets the preference path to path.
Reimplemented from Gui::PrefWidget.
Definition at line 343 of file PrefWidgets.cpp.
QByteArray Gui::PrefFileChooser::prefEntry [read, write] |
Definition at line 181 of file PrefWidgets.h.
QByteArray Gui::PrefFileChooser::prefPath [read, write] |
Definition at line 182 of file PrefWidgets.h.