OpenMW
Public Member Functions | Public Attributes
CSVSettings::SettingsItemDef Struct Reference

#include <support.hpp>

List of all members.

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
ProxyListproxyList
 list of settings and corresponding default values for proxy widget

Detailed Description

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.


Constructor & Destructor Documentation

CSVSettings::SettingsItemDef::SettingsItemDef ( QString  propName,
QString  propDefault,
Orientation  propOrient = Orient_Vertical 
) [inline]

Member Data Documentation

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

list of valid values for the setting

definition of the input widget for this setting


The documentation for this struct was generated from the following file: