Replace language sidebar with a dedicated language screen

This commit is contained in:
dsc
2019-02-23 11:44:12 +01:00
parent c2889c2b81
commit 3dc04b0df3
7 changed files with 258 additions and 18 deletions

View File

@@ -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
// }
}