import Qt 4.7 import Bauhaus 1.0 GroupBox { id: standardTextGroupBox caption: qsTr("Text") property bool showIsWrapping: false property bool showVerticalAlignment: false layout: VerticalLayout { QWidget { layout: HorizontalLayout { Label { text: qsTr("Text") } LineEdit { backendValue: backendValues.text baseStateFlag: isBaseState; } } } QWidget { visible: showIsWrapping layout: HorizontalLayout { Label { text: "" } CheckBox { baseStateFlag: isBaseState; text: qsTr("Is Wrapping") checkable: true; backendValue: backendValues.wrap; } } } QWidget { layout: HorizontalLayout { Label { text: qsTr("Alignment") } AlignmentHorizontalButtons {} AlignmentVerticalButtons { visible: showVerticalAlignment } } } } }