fix struct
This commit is contained in:
4
Main.qml
4
Main.qml
@@ -38,8 +38,8 @@ ApplicationWindow {
|
|||||||
id: title
|
id: title
|
||||||
Layout.maximumWidth: Number.POSITIVE_INFINITY
|
Layout.maximumWidth: Number.POSITIVE_INFINITY
|
||||||
Layout.alignment: Qt.AlignBottom
|
Layout.alignment: Qt.AlignBottom
|
||||||
packageCount: UpdateManager.packageCount
|
|
||||||
isChecking: UpdateManager.isChecking
|
isChecking: UpdateManager.isChecking
|
||||||
|
packageCount: UpdateManager.packageCount
|
||||||
}
|
}
|
||||||
|
|
||||||
Buttons.SettingsBtn {
|
Buttons.SettingsBtn {
|
||||||
@@ -63,6 +63,8 @@ ApplicationWindow {
|
|||||||
|
|
||||||
Pages.UpdatePg {
|
Pages.UpdatePg {
|
||||||
id: pgUpdate
|
id: pgUpdate
|
||||||
|
isChecking: UpdateManager.isChecking
|
||||||
|
packageCount: UpdateManager.packageCount
|
||||||
}
|
}
|
||||||
|
|
||||||
Pages.InstallPg {
|
Pages.InstallPg {
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ ColumnLayout {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: 4
|
spacing: 4
|
||||||
|
|
||||||
property bool isChecking: true
|
|
||||||
property int packageCount: 0
|
property int packageCount: 0
|
||||||
|
property bool isChecking: true
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: 5
|
spacing: 5
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ import "../../components" as Components
|
|||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
property int packageCount: 0
|
||||||
|
property bool isChecking: true
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 12
|
spacing: 12
|
||||||
@@ -15,7 +18,7 @@ Item {
|
|||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
Components.PreLoader {
|
Components.PreLoader {
|
||||||
visible: UpdateManager.isChecking
|
visible: root.isChecking
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user