101 lines
3.3 KiB
QML
101 lines
3.3 KiB
QML
import QtQuick 2.0
|
|
import Sailfish.Silica 1.0
|
|
Page {
|
|
Flickable {
|
|
id: flick
|
|
width:parent.width
|
|
height: parent.height - Theme.paddingLarge * 3
|
|
anchors.top: parent.top
|
|
anchors.topMargin: Theme.paddingLarge * 3
|
|
contentHeight: column1.height
|
|
|
|
Column{
|
|
id: column1
|
|
width: parent.width
|
|
spacing: Theme.paddingLarge
|
|
Label {
|
|
font.pixelSize: Theme.fontSizeExtraLarge
|
|
font.bold: true
|
|
text: "AllRadio2 v"+ _version
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
}
|
|
|
|
Label {
|
|
text: qsTr("License: GPLv2")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
|
|
Image{
|
|
source: "../images/community.png"
|
|
height: Theme.itemSizeHuge
|
|
width: height
|
|
fillMode: Image.PreserveAspectFit
|
|
anchors {
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
}
|
|
/* Rectangle{
|
|
gradient: Gradient {
|
|
GradientStop { position: 0.0; color: "#333333" }
|
|
GradientStop { position: 1.0; color: "#777777" }
|
|
}
|
|
anchors {
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
height: 3
|
|
width: parent.width-64
|
|
}
|
|
|
|
Label {
|
|
width: 360
|
|
font.pixelSize: Theme.fontSizeMedium
|
|
text: "Created by llelectronics"
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignHCenter
|
|
}
|
|
Repeater{
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
//model: credits
|
|
Label {
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
text: title
|
|
font.pixelSize: Theme.fontSizeSmall
|
|
}
|
|
}
|
|
Rectangle{
|
|
gradient: Gradient {
|
|
GradientStop { position: 0.0; color: "#333333" }
|
|
GradientStop { position: 1.0; color: "#777777" }
|
|
}
|
|
anchors {
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
height: 3
|
|
width: parent.width-64
|
|
}
|
|
|
|
Button {
|
|
id: homepage
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
text: "<a href=\"https://github.com/llelectronics/webcat\">Sourcecode on Github</a>"
|
|
onClicked: {
|
|
mainWindow.openNewTab('page-'+salt(), "https://github.com/llelectronics/webcat", false);
|
|
}
|
|
} */
|
|
|
|
Label {
|
|
width: parent.width-70
|
|
font.pixelSize: Theme.fontSizeSmall
|
|
text: qsTr("AllRadio is an internet radio station player")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignHCenter
|
|
height: 200
|
|
wrapMode: Text.WordWrap
|
|
}
|
|
}
|
|
}
|
|
}
|