|
mkRPG
|
Definition of the Options class, and the constants that are used in this class. More...
#include <QSettings>#include <QDir>#include <QSize>#include <QPoint>#include <QColor>Go to the source code of this file.
Data Structures | |
| struct | Options |
| The Options class provides session-independant options and preferences. More... | |
Defines | |
| #define | WIN "Window" |
| #define | DIR "Directories" |
| #define | MAP "MapsEditor" |
| #define | DefaultF(group, opt, val) defaultValues[group][opt] = QPair<QVariant, bool>(val, false) |
| #define | Default(group, opt, val) defaultValues[group][opt] = QPair<QVariant, bool>(val, true) |
Variables | |
| const QString | ADAPT = "Adjustable" |
| const QString | VAL = "Value" |
Definition of the Options class, and the constants that are used in this class.
The headers of types which are used in the application must be include here. See Options for details.
| #define Default | ( | group, | |
| opt, | |||
| val | |||
| ) | defaultValues[group][opt] = QPair<QVariant, bool>(val, true) |
This macro defines a new adaptati option identified by its group and name.
| #define DefaultF | ( | group, | |
| opt, | |||
| val | |||
| ) | defaultValues[group][opt] = QPair<QVariant, bool>(val, false) |
This macro defines a new unadaptati option identified by its group and name.
| #define DIR "Directories" |
Group of paths options.
| #define MAP "MapsEditor" |
Group of MapsEditor related options.
| #define WIN "Window" |
Group of window related options.
1.7.6.1