diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-10-15 15:34:06 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-16 09:54:42 +0200 |
commit | 1c565851fd0d57b9429af40bdaac11a887b97b14 (patch) | |
tree | 1551f52e3b2708c768940c0486e23f0f56ecebab | |
parent | 2202beed7146e089dbae1cffa81016fe47d9518b (diff) | |
download | qtquickcontrols-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.qml | 9 |
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 |