pqSettings extends QSettings to add support for following:
More...
#include <pqSettings.h>
Inherits QSettings.
|
| pqSettings (const QString &organization, const QString &application, QObject *p=NULL) |
|
| pqSettings (const QString &fileName, Format format, QObject *parent=NULL) |
|
| pqSettings (const QString &filename, bool temporary, QObject *parent=NULL) |
| use this constructor to use a file. More...
|
|
void | saveState (const QMainWindow &window, const QString &key) |
|
void | saveState (const QDialog &dialog, const QString &key) |
|
void | restoreState (const QString &key, QMainWindow &window) |
|
void | restoreState (const QString &key, QDialog &dialog) |
|
void | alertSettingsModified () |
| Calling this method will cause the modified signal to be emited. More...
|
|
void | saveInQSettings (const char *key, vtkSMProperty *smproperty) |
| Save a property value to a given setting name. More...
|
|
pqSettings extends QSettings to add support for following:
- saving/restoring window/dialog geometry.
Definition at line 45 of file pqSettings.h.
§ pqSettings() [1/3]
pqSettings::pqSettings |
( |
const QString & |
organization, |
|
|
const QString & |
application, |
|
|
QObject * |
p = NULL |
|
) |
| |
§ pqSettings() [2/3]
pqSettings::pqSettings |
( |
const QString & |
fileName, |
|
|
Format |
format, |
|
|
QObject * |
parent = NULL |
|
) |
| |
§ pqSettings() [3/3]
pqSettings::pqSettings |
( |
const QString & |
filename, |
|
|
bool |
temporary, |
|
|
QObject * |
parent = NULL |
|
) |
| |
use this constructor to use a file.
If temporary is true, then the file will be deleted when the pqSettings object is destroyed.
§ saveState() [1/2]
void pqSettings::saveState |
( |
const QMainWindow & |
window, |
|
|
const QString & |
key |
|
) |
| |
§ saveState() [2/2]
void pqSettings::saveState |
( |
const QDialog & |
dialog, |
|
|
const QString & |
key |
|
) |
| |
§ restoreState() [1/2]
void pqSettings::restoreState |
( |
const QString & |
key, |
|
|
QMainWindow & |
window |
|
) |
| |
§ restoreState() [2/2]
void pqSettings::restoreState |
( |
const QString & |
key, |
|
|
QDialog & |
dialog |
|
) |
| |
§ alertSettingsModified()
void pqSettings::alertSettingsModified |
( |
| ) |
|
Calling this method will cause the modified signal to be emited.
§ saveInQSettings()
void pqSettings::saveInQSettings |
( |
const char * |
key, |
|
|
vtkSMProperty * |
smproperty |
|
) |
| |
Save a property value to a given setting name.
§ modified
void pqSettings::modified |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ParaView-v5.2.0-RC2/Qt/Core/pqSettings.h