This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-19 20:35:31 +00:00
|
|
|
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 "../styles"
|
|
|
|
|
|
|
|
Item {
|
2019-04-24 20:32:20 +00:00
|
|
|
id: sp
|
|
|
|
property bool running
|
|
|
|
|
2019-03-19 20:35:31 +00:00
|
|
|
Image {
|
|
|
|
id: splashImage
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
|
|
|
source: "qrc:/qml/images/cwtch_logo.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
ProgressBar {
|
2019-04-24 20:32:20 +00:00
|
|
|
id: progressBar
|
2019-03-19 20:35:31 +00:00
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
anchors.top: splashImage.bottom
|
|
|
|
anchors.topMargin: 10
|
2019-04-24 20:32:20 +00:00
|
|
|
width: splashImage.width
|
2019-03-19 20:35:31 +00:00
|
|
|
|
|
|
|
indeterminate: true
|
|
|
|
|
|
|
|
style: ProgressBarStyle {
|
2019-04-24 20:32:20 +00:00
|
|
|
progress: CwtchProgress { running: sp.running }
|
|
|
|
|
2019-03-19 20:35:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|