2
import QtQuick.Window 2.0
4
import "../Javascript/Utils.js" as Utils
22
anchors.fill: background
24
if(background.state === "default"){
25
background.state = "showFull"
27
background.state = "default"
28
Utils.destroyWebView()
38
y: background.state === "default" ? background.height / 2 - height/ 2 : 0
40
horizontalCenter: background.horizontalCenter
47
width: background.width
48
height: background.height / 1.2
50
opacity: background.state === "default" ? 0 : 1
51
anchors.centerIn: parent
54
width:parent.width / 1.3
55
anchors.horizontalCenter: parent.horizontalCenter
58
wrapMode: Text.WordWrap
59
width: parent.width / 1.3
70
var s = Qt.formatDateTime(t, "dddd MMMM d hh:mm ap")
71
return "created on \t" + s
77
text: "Read Full Artical"// url
83
console.log(Utils.c.status )
85
Utils.createWebView();
96
height: homeView.height
98
PropertyChanges { target: helloRoot.ListView.view; explicit: true; contentY: helloRoot.y }
99
PropertyChanges { target: helloRoot.ListView.view; interactive: false }