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