init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import WallReel.Core
|
||||
import WallReel.UI.Pages
|
||||
|
||||
ApplicationWindow {
|
||||
width: Config.windowWidth
|
||||
height: Config.windowHeight
|
||||
minimumWidth: width
|
||||
maximumWidth: width
|
||||
minimumHeight: height
|
||||
maximumHeight: height
|
||||
visible: true
|
||||
title: qsTr("Hello World")
|
||||
|
||||
LoadingScreen {
|
||||
visible: ImageModel.isLoading
|
||||
anchors.fill: parent
|
||||
currentValue: ImageModel.processedCount
|
||||
totalValue: ImageModel.totalCount
|
||||
}
|
||||
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
active: !ImageModel.isLoading
|
||||
|
||||
sourceComponent: CarouselScreen {
|
||||
visible: !ImageModel.isLoading
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user