webView
authorjakub <jakub.jaszczynski@comarch.com>
Thu, 30 Dec 2010 15:39:05 +0000 (16:39 +0100)
committerjakub <jakub.jaszczynski@comarch.com>
Thu, 30 Dec 2010 15:39:05 +0000 (16:39 +0100)
src/mdictionary/mdictionary.pro
src/mdictionary/qml/AboutWidget.qml
src/mdictionary/qml/TranslationView.qml

index d01fcc4..ce84a73 100644 (file)
@@ -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
index 500508e..9821576 100644 (file)
@@ -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;
+    }
 }
index b366c1d..809e4c8 100644 (file)
@@ -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 {