![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Example application settings panel. More...
#include <Applications/ctkCommandLineModuleExplorer/ctkCmdLineModuleExplorerDirectorySettings.h>


Public Member Functions | |
| void | applySettings () |
| ctkCmdLineModuleExplorerDirectorySettings (ctkCmdLineModuleDirectoryWatcher *directoryWatcher) | |
Public Member Functions inherited from ctkSettingsPanel | |
| QStringList | changedSettings () const |
| ctkSettingsPanel (QWidget *parent=0) | |
| Constructor. More... | |
| void | registerProperty (const QString &settingKey, QObject *object, const QString &objectProperty, const char *propertySignal, const QString &settingLabel=QString(), SettingOptions options=OptionNone, QSettings *settings=0) |
| Q_INVOKABLE void | registerProperty (const QString &settingKey, QObject *object, const QString &objectProperty, const QByteArray &propertySignal, const QString &settingLabel=QString(), SettingOptions options=OptionNone, QSettings *settings=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| void | setSetting (const QString &key, const QVariant &newVal) |
| void | setSettings (QSettings *settings) |
| QString | settingLabel (const QString &settingKey) const |
| Return the label associated to a setting. More... | |
| SettingOptions | settingOptions (const QString &settingKey) const |
| Return the options associated to a setting. More... | |
| QSettings * | settings () const |
| virtual | ~ctkSettingsPanel () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from ctkSettingsPanel | |
| enum | SettingOption { OptionNone = 0x0000 , OptionRequireRestart = 0x0001 , OptionAll_Mask = ~0 } |
| typedef QWidget | Superclass |
| Superclass typedef. More... | |
Public Slots inherited from ctkSettingsPanel | |
| virtual void | reloadSettings () |
| virtual void | resetSettings () |
| virtual void | restoreDefaultSettings () |
Signals inherited from ctkSettingsPanel | |
| void | settingChanged (const QString &key, const QVariant &value) |
| Fired anytime a property is modified. More... | |
Protected Slots inherited from ctkSettingsPanel | |
| void | updateSetting (const QString &key) |
Protected Member Functions inherited from ctkSettingsPanel | |
| QVariant | defaultPropertyValue (const QString &key) const |
| QVariant | previousPropertyValue (const QString &key) const |
| QVariant | propertyValue (const QString &key) const |
Protected Attributes inherited from ctkSettingsPanel | |
| QScopedPointer< ctkSettingsPanelPrivate > | d_ptr |
Properties inherited from ctkSettingsPanel | |
| QSettings * | settings |
Example application settings panel.
Definition at line 35 of file ctkCmdLineModuleExplorerDirectorySettings.h.
| ctkCmdLineModuleExplorerDirectorySettings::ctkCmdLineModuleExplorerDirectorySettings | ( | ctkCmdLineModuleDirectoryWatcher * | directoryWatcher | ) |
|
virtual |
Forget the old property values so next time resetSettings is called it will set the properties with the same values when applySettings() is called.
Reimplemented from ctkSettingsPanel.