37 lines
824 B
QML
37 lines
824 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.4
|
|
import QtQuick.Controls.Material 2.0
|
|
import QtQuick.Layouts 1.3
|
|
import QtQuick.Window 2.11
|
|
import QtQuick.Controls 1.4
|
|
import QtQuick.Controls.Styles 1.4
|
|
import "../opaque/styles"
|
|
|
|
Item {
|
|
id: sp
|
|
property bool running
|
|
|
|
Image {
|
|
id: splashImage
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
source: "qrc:/qml/images/cwtch_logo.png"
|
|
}
|
|
|
|
ProgressBar {
|
|
id: progressBar
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.top: splashImage.bottom
|
|
anchors.topMargin: 10
|
|
width: splashImage.width
|
|
|
|
indeterminate: true
|
|
|
|
style: ProgressBarStyle {
|
|
progress: CwtchProgress { running: sp.running }
|
|
|
|
}
|
|
}
|
|
}
|