2
import QtQuick.Window 2.0
4
import "../Javascript/Utils.js" as Utils
21
Behavior on height{NumberAnimation{duration: 900;}}
23
anchors.fill: background
25
if(background.state === "default"){
26
background.state = "showFull"
28
background.state = "default"
29
Utils.destroyWebView()
39
y: background.state === "default" ? background.height / 2 - height/ 2 : 0
41
horizontalCenter: background.horizontalCenter
48
width: background.width
49
height: background.height / 1.2
53
//this is the bottom color stuff
55
opacity: background.state === "default" ? 0 : 1
56
anchors.centerIn: parent
59
width:parent.width / 1.3
60
anchors.centerIn: parent
63
wrapMode: Text.WordWrap
64
width: parent.width / 1.3
75
var s = Qt.formatDateTime(t, "dddd MMMM d hh:mm ap")
76
return "created on \t" + s
82
text: "Read Full Artical"// url
88
onEntered: urlTxt.color = "blue"
89
onExited: urlTxt.color = "white"
91
console.log(Utils.c.status )
93
Utils.createWebView();
104
height: Screen.height
107
PropertyChanges { target: helloRoot.ListView.view; explicit: true; contentY: helloRoot.y }
108
PropertyChanges { target: helloRoot.ListView.view; interactive: false }