|
@@ -3,8 +3,6 @@ import QtQuick.Window 2.2
|
|
import Qt.labs.settings 1.0
|
|
import Qt.labs.settings 1.0
|
|
import PictureModel 1.0
|
|
import PictureModel 1.0
|
|
|
|
|
|
-import "."
|
|
|
|
-
|
|
|
|
Window {
|
|
Window {
|
|
id: appWindow
|
|
id: appWindow
|
|
|
|
|
|
@@ -117,6 +115,7 @@ Window {
|
|
property bool showScreenResolution: false
|
|
property bool showScreenResolution: false
|
|
property string effect: ""
|
|
property string effect: ""
|
|
property string view: "Reel"
|
|
property string view: "Reel"
|
|
|
|
+ property string backdrop: ""
|
|
property bool smoothArt: false
|
|
property bool smoothArt: false
|
|
property bool randomlyMirrorArt: true
|
|
property bool randomlyMirrorArt: true
|
|
property bool fullscreen: true
|
|
property bool fullscreen: true
|
|
@@ -146,17 +145,13 @@ Window {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- Rectangle {
|
|
|
|
|
|
+ Item {
|
|
|
|
+ id: root
|
|
focus: true
|
|
focus: true
|
|
- color: "black"
|
|
|
|
|
|
+
|
|
anchors.fill: parent
|
|
anchors.fill: parent
|
|
Keys.forwardTo: [artViewLoader.item, toplevelhandler]
|
|
Keys.forwardTo: [artViewLoader.item, toplevelhandler]
|
|
|
|
|
|
- BackgroundSwirls {
|
|
|
|
- visible: globalSettings.animatedBackground
|
|
|
|
- anchors.fill: parent
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
Loader {
|
|
Loader {
|
|
id: artViewLoader
|
|
id: artViewLoader
|
|
anchors.fill: parent
|
|
anchors.fill: parent
|
|
@@ -212,6 +207,11 @@ Window {
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ Component.onCompleted: {
|
|
|
|
+ if (globalSettings.backdrop != "") {
|
|
|
|
+ Qt.createQmlObject(globalSettings.backdrop + ' { anchors.fill: parent}', root)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
Item {
|
|
Item {
|