1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/qml/Components/Page.qml
2017-04-10 11:57:06 +02:00

60 lines
1.2 KiB
QML

import QtQuick 2.0
import QtGraphicalEffects 1.0
import QtQuick.Layouts 1.3
Rectangle {
id:page
width:1366
height:768
color: "#eeeeee"
property string pageName: "pagename"
LinearGradient {
id: pageShadow
height: 5
z:99
anchors{
top:parent.top
right: parent.right
left: parent.left
}
start: Qt.point(0, 0)
end: Qt.point(0,5)
gradient: Gradient {
GradientStop { position: 0.0; color: "#22000000" }
GradientStop { position: 1.0; color: "#00000000" }
}
}
ColumnLayout {
id: columnLayout
anchors.fill: parent
Rectangle {
Layout.alignment: Qt.AlignCenter
color: "steelblue"
Layout.preferredHeight: 100
}
}
Text {
id: txtLoading
text: pageName
anchors.centerIn: parent
font.family: font_LibreBaskerville_Italic.name
font.pointSize: 32
font.italic: true
color: "#818181"
FontLoader{
id: font_LibreBaskerville_Italic
source: "qrc:/assets/fonts/LibreBaskerville-Italic.ttf"
}
}
}