From 08831de55e3e5d82575f8deb52a0c3d20d9589b7 Mon Sep 17 00:00:00 2001 From: jakub Date: Thu, 30 Dec 2010 16:39:05 +0100 Subject: [PATCH] webView --- src/mdictionary/mdictionary.pro | 3 ++- src/mdictionary/qml/AboutWidget.qml | 8 +++++++- src/mdictionary/qml/TranslationView.qml | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/mdictionary/mdictionary.pro b/src/mdictionary/mdictionary.pro index d01fcc4..ce84a73 100644 --- a/src/mdictionary/mdictionary.pro +++ b/src/mdictionary/mdictionary.pro @@ -94,7 +94,8 @@ OTHER_FILES += \ qml/WordListWidget.qml \ qml/TranslationView.qml \ qml/FlickableWebView.qml \ - qml/ScrollBar.qml + qml/ScrollBar.qml \ + qml/SpinBox.qml target.path = $$BIN_DIR INSTALLS += target diff --git a/src/mdictionary/qml/AboutWidget.qml b/src/mdictionary/qml/AboutWidget.qml index 500508e..9821576 100644 --- a/src/mdictionary/qml/AboutWidget.qml +++ b/src/mdictionary/qml/AboutWidget.qml @@ -44,7 +44,7 @@ Rectangle { onLinkActivated: linkClicked(link); } - Text { + Text { id: text4 y: 290 anchors.horizontalCenter: parent.horizontalCenter @@ -52,4 +52,10 @@ Rectangle { anchors.horizontalCenterOffset: 0 onLinkActivated: linkClicked(link); } + + SpinBox{ + id: test; + x:100; + y:100; + } } diff --git a/src/mdictionary/qml/TranslationView.qml b/src/mdictionary/qml/TranslationView.qml index b366c1d..809e4c8 100644 --- a/src/mdictionary/qml/TranslationView.qml +++ b/src/mdictionary/qml/TranslationView.qml @@ -11,7 +11,7 @@ Rectangle { function setUrl(string){ webView.url = "file:///home/test.html"; - webView.url = "file:///home/jakub/.mdictionary/html.html"; + webView.url = string; } FlickableWebView { -- 1.7.9.5