diff options
| author | Javier <dev.git@javispedro.com> | 2014-12-21 21:03:18 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2014-12-21 21:03:18 +0100 |
| commit | e1d94fc21ecbce16815810c4f274f349b49e82a3 (patch) | |
| tree | bf4c286ab01c5bb35e04fcd643f6fdd4e9730db8 /app/qml/pages/AppConfigDialog.qml | |
| parent | 8f0905197f7cead299c00006ada482095fe9d1a4 (diff) | |
add itemselector to the appconfig webview
Diffstat (limited to 'app/qml/pages/AppConfigDialog.qml')
| -rw-r--r-- | app/qml/pages/AppConfigDialog.qml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/app/qml/pages/AppConfigDialog.qml b/app/qml/pages/AppConfigDialog.qml index 92f188f..304bced 100644 --- a/app/qml/pages/AppConfigDialog.qml +++ b/app/qml/pages/AppConfigDialog.qml @@ -19,6 +19,8 @@ Dialog { title: "Configuring " + name } + VerticalScrollDecorator { flickable: webview } + onNavigationRequested: { console.log("appconfig navigation requested to " + request.url); var url = request.url.toString(); @@ -34,7 +36,21 @@ Dialog { } } - VerticalScrollDecorator { flickable: webview } + experimental.itemSelector: Component { + Item { + Component.onCompleted: { + var dialog = pageStack.push(Qt.resolvedUrl("WebItemSelDialog.qml"), { + model: model.items + }); + dialog.onRejected.connect(function() { + model.reject(); + }); + dialog.onAccepted.connect(function() { + model.accept(dialog.selectedIndex); + }); + } + } + } } ProgressBar { |
