Commit ac0e4921 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: cleanup qml

parent 4519af1a
......@@ -18,8 +18,7 @@ GroupBox {
baseStateFlag: isBaseState
}
}
}
}
QWidget {
id: sizeWidget
property bool selectionFlag: selectionChanged
......@@ -33,8 +32,7 @@ GroupBox {
if (backendValues.font_pixelSize.isInModel)
sizeType.currentText = "pixels";
isSetup = false;
}
}
layout: HorizontalLayout {
Label {
text: qsTr("Size")
......@@ -65,28 +63,21 @@ GroupBox {
}
}
}
}
}
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Font Style")
}
FontStyleButtons {}
}
}
QWidget {
visible: showStyle
layout: HorizontalLayout {
Label {
text: qsTr("Style")
}
ComboBox {
baseStateFlag:isBaseState
backendValue: (backendValues.style === undefined) ? dummyBackendValue : backendValues.style
......
......@@ -6,7 +6,6 @@ QGroupBox {
property int buttonWidth: 46
layout: HorizontalLayout {
topMargin: 6
QWidget {
fixedHeight: 32
......
......@@ -12,11 +12,9 @@ GroupBox {
layout: VerticalLayout {
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Text")
}
LineEdit {
backendValue: backendValues.text
baseStateFlag: isBaseState;
......@@ -37,12 +35,10 @@ GroupBox {
onItemsChanged: {
currentText = backendValues.wrapMode.value;
}
backendValue: backendValues.wrapMode
}
}
}
QWidget {
layout: HorizontalLayout {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment