ParaView
Signals | Public Member Functions | List of all members
pqSettings Class Reference

pqSettings extends QSettings to add support for following: More...

#include <pqSettings.h>

Inherits QSettings.

Signals

void modified ()
 

Public Member Functions

 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...
 

Detailed Description

pqSettings extends QSettings to add support for following:

Definition at line 45 of file pqSettings.h.

Constructor & Destructor Documentation

§ 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.

Member Function Documentation

§ 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: