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

definition struct for widgets More...

#include <support.hpp>

List of all members.

Public Member Functions

 WidgetDef ()
 WidgetDef (WidgetType widgType)

Public Attributes

WidgetType type
 type of widget providing input
int labelWidth
 width of caption label
int widgetWidth
 width of input widget
Orientation orientation
 label / widget orientation (horizontal / vertical)
QString inputMask
 input mask (line edit only)
QString caption
 label caption. Leave empty for multiple items. See BlockDef::captionList
QString value
 widget value. Leave empty for multiple items. See BlockDef::valueList
CSMSettings::QStringPairminMax
 Min/Max QString value pair. If empty, assigned to property item value pair.
QStringList * valueList
 value list for list widgets. If left empty, is assigned to property item value list during block build().
bool isDefault
 determined at runtime
Alignment valueAlignment
 left / center / right-justify text in widget
Alignment widgetAlignment
 left / center / right-justify widget in group box

Detailed Description

definition struct for widgets


Constructor & Destructor Documentation


Member Data Documentation

label caption. Leave empty for multiple items. See BlockDef::captionList

input mask (line edit only)

determined at runtime

width of caption label

Min/Max QString value pair. If empty, assigned to property item value pair.

label / widget orientation (horizontal / vertical)

type of widget providing input

widget value. Leave empty for multiple items. See BlockDef::valueList

left / center / right-justify text in widget

value list for list widgets. If left empty, is assigned to property item value list during block build().

left / center / right-justify widget in group box

width of input widget


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