feat: global menu

This adds a global menu to NeoChat, providing
a standard and consistent set of File/Edit/View/so on
menus.
This commit is contained in:
Jan Blackquill
2021-06-28 23:31:39 -04:00
committed by Carl Schwan
parent 6bbb4b4985
commit 537416354a
5 changed files with 195 additions and 0 deletions

View File

@@ -37,6 +37,11 @@ Kirigami.ApplicationWindow {
}
}
Loader {
active: !Kirigami.Settings.isMobile
source: Qt.resolvedUrl("qrc:/imports/NeoChat/Menu/GlobalMenu.qml")
}
// This timer allows to batch update the window size change to reduce
// the io load and also work around the fact that x/y/width/height are
// changed when loading the page and overwrite the saved geometry from