2012-02-11 09:58:30 +10:00
|
|
|
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
|
2013-11-14 00:04:34 +01:00
|
|
|
import QtQuick 2.0
|
2012-02-11 09:58:30 +10:00
|
|
|
|
|
|
|
Item {
|
2012-08-14 22:54:08 +10:00
|
|
|
property alias sourceSize: background.sourceSize
|
|
|
|
width: sourceSize.width
|
2013-10-13 23:38:09 +02:00
|
|
|
height: 400
|
2012-02-11 09:58:30 +10:00
|
|
|
|
|
|
|
BorderImage {
|
|
|
|
id: background
|
2013-10-13 23:38:09 +02:00
|
|
|
x: 0
|
|
|
|
y: 0
|
|
|
|
anchors.rightMargin: 0
|
|
|
|
anchors.bottomMargin: 0
|
|
|
|
anchors.leftMargin: 0
|
|
|
|
anchors.topMargin: 0
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.fill: parent
|
|
|
|
|
|
|
|
border { left: 30; top: 30; right: 30; bottom: 30 }
|
|
|
|
source: "images/welcome-news-bg.png"
|
|
|
|
}
|
|
|
|
|
2013-10-13 23:38:09 +02:00
|
|
|
SitesPanel {
|
|
|
|
id: sites
|
|
|
|
height: 50
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.margins: 32
|
|
|
|
|
|
|
|
onClicked: welcomePlugin.openUrl(url)
|
|
|
|
}
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
id: vertSeparator
|
|
|
|
height: 1
|
|
|
|
width: sites.width-20
|
|
|
|
anchors.horizontalCenter: sites.horizontalCenter
|
|
|
|
anchors.top: sites.bottom
|
|
|
|
anchors.margins: 16
|
|
|
|
color: "#A0A0A0"
|
|
|
|
}
|
|
|
|
|
2012-02-11 09:58:30 +10:00
|
|
|
NewsPanel {
|
|
|
|
id: newsPanel
|
|
|
|
anchors.left: parent.left
|
2013-10-13 23:38:09 +02:00
|
|
|
anchors.top: sites.bottom
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.bottom: parent.bottom
|
2013-10-13 23:38:09 +02:00
|
|
|
width: parent.width*0.45
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.margins: 32
|
|
|
|
|
|
|
|
onClicked: welcomePlugin.openUrl(url)
|
|
|
|
}
|
|
|
|
|
2013-10-13 23:38:09 +02:00
|
|
|
Rectangle {
|
|
|
|
id: horizSeparator
|
2012-02-11 09:58:30 +10:00
|
|
|
width: 1
|
2013-10-13 23:38:09 +02:00
|
|
|
height: newsPanel.height-20
|
|
|
|
anchors.verticalCenter: newsPanel.verticalCenter
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.left: newsPanel.right
|
|
|
|
anchors.margins: 16
|
2012-02-25 17:22:08 +10:00
|
|
|
color: "#A0A0A0"
|
2012-02-11 09:58:30 +10:00
|
|
|
}
|
|
|
|
|
2013-10-13 23:38:09 +02:00
|
|
|
ActivityPanel {
|
|
|
|
id: activityPanel
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.left: newsPanel.right
|
2013-10-13 23:38:09 +02:00
|
|
|
anchors.top: sites.bottom
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.bottom: parent.bottom
|
2013-10-13 23:38:09 +02:00
|
|
|
anchors.right: parent.right
|
2012-02-11 09:58:30 +10:00
|
|
|
anchors.margins: 32
|
|
|
|
|
|
|
|
onClicked: welcomePlugin.openUrl(url)
|
|
|
|
}
|
|
|
|
}
|