QmlDesigner.propertyEditor: fixes for ListView

This commit is contained in:
Thomas Hartmann
2011-05-06 18:09:45 +02:00
parent e4a2228739
commit d7f3a0c3cc

View File

@@ -9,6 +9,7 @@ QWidget {
rightMargin: 0
spacing: 0
FlickableGroupBox {
finished: finishedNotify;
}
GroupBox {
finished: finishedNotify;
@@ -16,7 +17,8 @@ QWidget {
layout: VerticalLayout {
IntEditor {
backendValue: backendValues.cacheBuffer
caption: qsTr("Cache Buffer")
caption: qsTr("Cache")
toolTip: qsTr("Cache Buffer")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
@@ -64,24 +66,24 @@ QWidget {
minimumValue: 0;
maximumValue: 1000;
}
// Qt namespace enums not supported by the rewriter
// QWidget {
// layout: HorizontalLayout {
// Label {
// text: qsTr("Layout Direction")
// }
// Qt namespace enums not supported by the rewriter
// QWidget {
// layout: HorizontalLayout {
// Label {
// text: qsTr("Layout Direction")
// }
// ComboBox {
// baseStateFlag: isBaseState
// items : { ["LeftToRight", "TopToBottom"] }
// currentText: backendValues.layoutDirection.value;
// onItemsChanged: {
// currentText = backendValues.layoutDirection.value;
// }
// backendValue: backendValues.layoutDirection
// }
// }
// } //QWidget
// ComboBox {
// baseStateFlag: isBaseState
// items : { ["LeftToRight", "TopToBottom"] }
// currentText: backendValues.layoutDirection.value;
// onItemsChanged: {
// currentText = backendValues.layoutDirection.value;
// }
// backendValue: backendValues.layoutDirection
// }
// }
// } //QWidget
QWidget {
layout: HorizontalLayout {
@@ -128,6 +130,8 @@ QWidget {
minimumValue: 0;
maximumValue: 1000;
}
}
}
GroupBox {
finished: finishedNotify;
caption: qsTr("List View Highlight")
@@ -135,7 +139,8 @@ QWidget {
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Righlight Range")
text: qsTr("Range")
toolTip: qsTr("Highlight Range")
}
ComboBox {
@@ -219,7 +224,7 @@ QWidget {
}
}
}
}
QScrollArea {
}
}
}