Files
qt-creator/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml

62 lines
1.4 KiB
QML
Raw Normal View History

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 {}
}
}
QWidget {
visible: showVerticalAlignment
layout: HorizontalLayout {
Label {
text: qsTr("")
}
AlignmentVerticalButtons { }
}
2010-04-20 10:24:56 +02:00
}
}
}