#include "kritawidgetutils_export.h"
#include <QWidget>
#include <QString>
#include <QMap>
#include <QVariant>
Go to the source code of this file.
|
| namespace | KisDialogStateSaver |
| | The KisDialogStateSaver class saves state for the specified widget in the kritarc file and restores it. Simply call saveState in your dialog's destructor, and use restoreState in the constructor.
|
| |
|
| KRITAWIDGETUTILS_EXPORT void | KisDialogStateSaver::restoreState (QWidget *parent, const QString &dialogName, const QMap< QString, QVariant > &defaults=QMap< QString, QVariant >()) |
| | restoreState restores the state of the dialog
|
| |
| KRITAWIDGETUTILS_EXPORT void | KisDialogStateSaver::saveState (QWidget *parent, const QString &dialogName) |
| | saveState saves the state for the specified widgets
|
| |