mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-10 04:52:41 +01:00
Fix loading of wizard elements
This commit is contained in:
parent
942f4186ae
commit
799b4a0138
@ -22,7 +22,7 @@ Item {
|
|||||||
state = "in"
|
state = "in"
|
||||||
ScreenPlay.util.setNavigationActive(false)
|
ScreenPlay.util.setNavigationActive(false)
|
||||||
|
|
||||||
loader_wrapperContent.setSource(
|
wizard.setSource(
|
||||||
"qrc:/qml/Create/Wizards/CreateWallpaper/CreateWallpaperVideoImportConvert.qml",
|
"qrc:/qml/Create/Wizards/CreateWallpaper/CreateWallpaperVideoImportConvert.qml",
|
||||||
{
|
{
|
||||||
"filePath": createNew.filePath
|
"filePath": createNew.filePath
|
||||||
@ -59,7 +59,7 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Wizard {
|
Wizard {
|
||||||
|
id:wizard
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
import QtQuick.Controls 2.2
|
import QtQuick.Controls 2.2
|
||||||
import QtQuick.Controls.Material 2.3
|
import QtQuick.Controls.Material 2.3
|
||||||
@ -14,6 +14,12 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
state: "out"
|
state: "out"
|
||||||
|
|
||||||
|
function setSource(path, arguments){
|
||||||
|
loader_wrapperContent.setSource(
|
||||||
|
"qrc:/qml/Create/Wizards/CreateWallpaper/CreateWallpaperVideoImportConvert.qml",
|
||||||
|
arguments)
|
||||||
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
state = "in"
|
state = "in"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user