#include <Libs/Widgets/ctkSettings.h>
|
Q_INVOKABLE void | alertSettingsModified () |
| Calling this method will cause the modified signal to be emited. More...
|
|
| ctkSettings (const QString &fileName, QSettings::Format format, QObject *parent=0) |
|
| ctkSettings (const QString &organization, const QString &application, QObject *parent=0) |
|
| ctkSettings (QObject *parent=0) |
|
| ctkSettings (QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=0) |
|
| ctkSettings (QSettings::Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=0) |
|
Q_INVOKABLE void | restoreState (const QString &key, QDialog &dialog) |
|
Q_INVOKABLE void | restoreState (const QString &key, QMainWindow &window) |
|
Q_INVOKABLE void | saveState (const QDialog &dialog, const QString &key) |
| Saves the position and size of the QDialog. More...
|
|
Q_INVOKABLE void | saveState (const QMainWindow &window, const QString &key) |
| Saves the position, size and layout of the QMainWindow. More...
|
|
ctkSettings is a QSettings that additionally can save and restore the state (position/size) of QMainWindow and QDialogs.
Definition at line 71 of file ctkSettings.h.
◆ ctkSettings() [1/5]
ctkSettings::ctkSettings |
( |
const QString & |
organization, |
|
|
const QString & |
application, |
|
|
QObject * |
parent = 0 |
|
) |
| |
- See also
- QSettings::QSettings(const QString& ,const QString& , QObject* )
◆ ctkSettings() [2/5]
ctkSettings::ctkSettings |
( |
QSettings::Scope |
scope, |
|
|
const QString & |
organization, |
|
|
const QString & |
application = QString() , |
|
|
QObject * |
parent = 0 |
|
) |
| |
- See also
- QSettings::QSettings(QSettings::Scope ,const QString& ,const QString& , QObject* )
◆ ctkSettings() [3/5]
ctkSettings::ctkSettings |
( |
QSettings::Format |
format, |
|
|
QSettings::Scope |
scope, |
|
|
const QString & |
organization, |
|
|
const QString & |
application = QString() , |
|
|
QObject * |
parent = 0 |
|
) |
| |
- See also
- QSettings::QSettings(QSettings::Format ,QSettings::Scope ,const QString& ,const QString& , QObject* )
◆ ctkSettings() [4/5]
ctkSettings::ctkSettings |
( |
const QString & |
fileName, |
|
|
QSettings::Format |
format, |
|
|
QObject * |
parent = 0 |
|
) |
| |
- See also
- QSettings::QSettings(const QString& , QSettings::Format , QObject* )
◆ ctkSettings() [5/5]
ctkSettings::ctkSettings |
( |
QObject * |
parent = 0 | ) |
|
- See also
- QSettings::QSettings(QObject*)
◆ alertSettingsModified()
Q_INVOKABLE void ctkSettings::alertSettingsModified |
( |
| ) |
|
Calling this method will cause the modified signal to be emited.
◆ modified
void ctkSettings::modified |
( |
| ) |
|
|
signal |
◆ restoreState() [1/2]
Q_INVOKABLE void ctkSettings::restoreState |
( |
const QString & |
key, |
|
|
QDialog & |
dialog |
|
) |
| |
Saves the position, size and layout of the QMainWindow for a given key
◆ restoreState() [2/2]
Q_INVOKABLE void ctkSettings::restoreState |
( |
const QString & |
key, |
|
|
QMainWindow & |
window |
|
) |
| |
Restore the position, size and layout of the QMainWindow for a given key
◆ saveState() [1/2]
Q_INVOKABLE void ctkSettings::saveState |
( |
const QDialog & |
dialog, |
|
|
const QString & |
key |
|
) |
| |
Saves the position and size of the QDialog.
◆ saveState() [2/2]
Q_INVOKABLE void ctkSettings::saveState |
( |
const QMainWindow & |
window, |
|
|
const QString & |
key |
|
) |
| |
Saves the position, size and layout of the QMainWindow.
The documentation for this class was generated from the following file: