add preloader in updatepg
This commit is contained in:
30
qml/components/PreLoader.qml
Normal file
30
qml/components/PreLoader.qml
Normal file
@@ -0,0 +1,30 @@
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls
|
||||
|
||||
import archpack
|
||||
|
||||
Item {
|
||||
ColumnLayout {
|
||||
anchors.centerIn: parent
|
||||
spacing: 8
|
||||
|
||||
BusyIndicator {
|
||||
running: UpdateManager.isChecking
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
implicitWidth: 24
|
||||
implicitHeight: 24
|
||||
|
||||
palette.dark: Theme.color2
|
||||
palette.text: Theme.color2
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "проверка обновлений..."
|
||||
font.pixelSize: 13
|
||||
color: Theme.color2
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user