aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2019-02-23 11:44:12 +0100
committerdsc <xmrdsc@protonmail.com>2019-02-24 06:31:01 +0100
commit3dc04b0df3e8d1c98c4e3c32f827e434f9da9cd4 (patch)
treef68b7ccf143e730f0d028a23c1fccef9e493a78f /main.qml
parentc2889c2b8173dda1e4fe50478c8d56ac00f2d255 (diff)
downloadmonzero-gui-3dc04b0df3e8d1c98c4e3c32f827e434f9da9cd4.tar.gz
monzero-gui-3dc04b0df3e8d1c98c4e3c32f827e434f9da9cd4.tar.xz
monzero-gui-3dc04b0df3e8d1c98c4e3c32f827e434f9da9cd4.zip
Replace language sidebar with a dedicated language screen
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml18
1 files changed, 15 insertions, 3 deletions
diff --git a/main.qml b/main.qml
index 85cf38ef..8ee4d564 100644
--- a/main.qml
+++ b/main.qml
@@ -1604,6 +1604,12 @@ ApplicationWindow {
}
}
+ WizardLang {
+ id: languageView
+ visible: false
+ anchors.fill: parent
+ }
+
property int minWidth: 326
property int minHeight: 400
MouseArea {
@@ -1732,6 +1738,11 @@ ApplicationWindow {
}
}
+ function toggleLanguageView(){
+ middlePanel.visible = !middlePanel.visible;
+ languageView.visible = !languageView.visible
+ }
+
// TODO: Make the callback dynamic
Timer {
id: statusMessageTimer
@@ -1994,7 +2005,8 @@ ApplicationWindow {
opacity: 0.8
}
- MoneroComponents.LanguageSidebar {
- id: languageSidebar
- }
+// @TODO: QML type 'Drawer' has issues with buildbot; debug after Qt 5.9 migration
+// MoneroComponents.LanguageSidebar {
+// id: languageSidebar
+// }
}