summaryrefslogtreecommitdiffstats
path: root/qml/mw-ui.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-01-19 22:42:28 +0100
committerPapoteur <papoteur@mageia.org>2019-01-19 22:42:28 +0100
commit890566f42bf9a43c3fefe0e85b5a839ef63b99df (patch)
tree63103bc94fb0c95a24fbbe52baecf106dee9f9d3 /qml/mw-ui.qml
parent33deff085c4aba04b678f6b948d6025edc1839d8 (diff)
downloadmageiawelcome-890566f42bf9a43c3fefe0e85b5a839ef63b99df.tar
mageiawelcome-890566f42bf9a43c3fefe0e85b5a839ef63b99df.tar.gz
mageiawelcome-890566f42bf9a43c3fefe0e85b5a839ef63b99df.tar.bz2
mageiawelcome-890566f42bf9a43c3fefe0e85b5a839ef63b99df.tar.xz
mageiawelcome-890566f42bf9a43c3fefe0e85b5a839ef63b99df.zip
Allow saving the size of the window
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r--qml/mw-ui.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 717ade6..bd327f7 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -6,16 +6,17 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtGraphicalEffects 1
import QtQuick.Window 2
+import Qt.labs.settings 1.0
Rectangle {
id: box
width: 1000; height: 700
property alias view: view
- // For RTL tests
- //LayoutMirroring.enabled: true
- //LayoutMirroring.childrenInherit: true
-
+ Settings {
+ property alias width: box.width
+ property alias height: box.height
+ }
Component {
id: slidebackground
LinearGradient {