summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-10-15 15:34:06 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-16 09:54:42 +0200
commit1c565851fd0d57b9429af40bdaac11a887b97b14 (patch)
tree1551f52e3b2708c768940c0486e23f0f56ecebab
parent2202beed7146e089dbae1cffa81016fe47d9518b (diff)
downloadqtquickcontrols-1c565851fd0d57b9429af40bdaac11a887b97b14.tar.gz
Fix some issues in the modelview example
The edit menu was never implemented and should not be exposed. Fading out the combo box is not really intuitive and doesnt actually disable the control. task-number: QTBUG-33818 Change-Id: I76190b675fd9400caac2754277ba9960b7f6dd06 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
-rw-r--r--examples/quick/controls/tableview/main.qml9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/quick/controls/tableview/main.qml b/examples/quick/controls/tableview/main.qml
index 08976201..37ab383e 100644
--- a/examples/quick/controls/tableview/main.qml
+++ b/examples/quick/controls/tableview/main.qml
@@ -63,16 +63,9 @@ Window {
ListElement { text: "Editable items" }
}
- MouseArea {
- anchors.fill: parent
- acceptedButtons: Qt.RightButton
- onPressed: editmenu.show(mouseX, mouseY)
- }
-
ComboBox {
id: delegateChooser
- opacity: frame.currentIndex === 3 ? 1 : 0
- Behavior on opacity{ NumberAnimation{} }
+ enabled: frame.currentIndex === 3 ? 1 : 0
model: delegatemenu
width: 150
anchors.left: parent.left