OpenMW
|
#include <support.hpp>
Public Member Functions | |
SettingsItemDef () | |
SettingsItemDef (QString propName, QString propDefault, Orientation propOrient=Orient_Vertical) | |
Public Attributes | |
QString | name |
setting name | |
QStringList * | valueList |
list of valid values for the setting | |
QString | defaultValue |
Used to populate option widget captions or list widget item lists (see WidgetDef::caption / value) | |
bool | hasMultipleValues |
flag indicating multi-valued setting | |
CSMSettings::QStringPair | minMax |
minimum / maximum value pair | |
WidgetDef | widget |
definition of the input widget for this setting | |
Orientation | orientation |
general orientation of the widget / label for this setting | |
ProxyList * | proxyList |
list of settings and corresponding default values for proxy widget |
Defines the attributes of the setting as it is represented in the config file as well as the UI elements (group box and widget) that serve it. Only one widget may serve as the input widget for the setting.
CSVSettings::SettingsItemDef::SettingsItemDef | ( | ) | [inline] |
CSVSettings::SettingsItemDef::SettingsItemDef | ( | QString | propName, |
QString | propDefault, | ||
Orientation | propOrient = Orient_Vertical |
||
) | [inline] |
Used to populate option widget captions or list widget item lists (see WidgetDef::caption / value)
flag indicating multi-valued setting
minimum / maximum value pair
setting name
general orientation of the widget / label for this setting
list of settings and corresponding default values for proxy widget
QStringList* CSVSettings::SettingsItemDef::valueList |
list of valid values for the setting
definition of the input widget for this setting