OpenMW
|
definition struct for widgets More...
#include <support.hpp>
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::QStringPair * | minMax |
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 |
definition struct for widgets
CSVSettings::WidgetDef::WidgetDef | ( | ) | [inline] |
CSVSettings::WidgetDef::WidgetDef | ( | WidgetType | widgType | ) | [inline] |
QString CSVSettings::WidgetDef::caption |
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
QString CSVSettings::WidgetDef::value |
widget value. Leave empty for multiple items. See BlockDef::valueList
left / center / right-justify text in widget
QStringList* CSVSettings::WidgetDef::valueList |
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