2010-01-27 18:38:09 +01:00
|
|
|
import Qt 4.6
|
|
|
|
|
import Bauhaus 1.0
|
|
|
|
|
|
|
|
|
|
GroupBox {
|
2010-02-05 15:42:31 +10:00
|
|
|
id: standardTextGroupBox
|
2010-01-27 18:38:09 +01:00
|
|
|
|
|
|
|
|
caption: "Text";
|
|
|
|
|
|
|
|
|
|
property bool showStyleColor: false;
|
|
|
|
|
|
|
|
|
|
layout: VerticalLayout {
|
|
|
|
|
QWidget {
|
|
|
|
|
layout: HorizontalLayout {
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
|
text: "Text"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LineEdit {
|
|
|
|
|
backendValue: backendValues.text
|
2010-02-25 16:48:20 +01:00
|
|
|
baseStateFlag: isBaseState;
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
2010-01-28 17:43:37 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
QWidget {
|
|
|
|
|
layout: HorizontalLayout {
|
|
|
|
|
Label {
|
|
|
|
|
text: ""
|
|
|
|
|
}
|
2010-01-27 18:38:09 +01:00
|
|
|
CheckBox {
|
|
|
|
|
baseStateFlag: isBaseState;
|
2010-01-28 17:43:37 +01:00
|
|
|
text: "Is Wrapping";
|
2010-01-27 18:38:09 +01:00
|
|
|
checkable: true;
|
|
|
|
|
backendValue: backendValues.wrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2010-03-01 08:19:21 +01:00
|
|
|
|
2010-01-27 18:38:09 +01:00
|
|
|
QWidget {
|
|
|
|
|
layout: HorizontalLayout {
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
|
text: "Alignment"
|
|
|
|
|
}
|
2010-03-01 08:19:21 +01:00
|
|
|
AlignmentHorizontalButtons {}
|
|
|
|
|
AlignmentVerticalButtons {}
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
|
|
|
|
}
|
2010-02-26 15:20:34 +01:00
|
|
|
|
|
|
|
|
ColorLabel {
|
|
|
|
|
text: " Color"
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
2010-02-04 14:45:20 +01:00
|
|
|
|
|
|
|
|
ColorGroupBox {
|
|
|
|
|
|
|
|
|
|
finished: finishedNotify
|
|
|
|
|
|
|
|
|
|
backendColor: backendValues.color
|
|
|
|
|
}
|
2010-02-26 15:20:34 +01:00
|
|
|
|
|
|
|
|
ColorLabel {
|
|
|
|
|
visible: showStyleColor
|
|
|
|
|
text: " Style Color"
|
2010-02-04 14:45:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ColorGroupBox {
|
2010-02-26 15:20:34 +01:00
|
|
|
visible: showStyleColor
|
2010-02-04 14:45:20 +01:00
|
|
|
finished: finishedNotify
|
|
|
|
|
|
|
|
|
|
backendColor: backendValues.styleColor || null
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
2010-02-26 15:20:34 +01:00
|
|
|
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
|
|
|
|
}
|