mainapplication: isolate window mode logic in a top-level component
Logic for fullscreen/windowed mode switching is scattered within the main ApplicationWindow and other components. Ideally, components that need to transition to fullscreen, can make a dumb request to module in charge of making the necessary checks and carrying out the mode change. This patch introduces the LayoutManager used to isolate this logic. Change-Id: I0e5b932617d2b88eda1533f25a5d55fc1c66c438
Showing
- qml.qrc 1 addition, 0 deletionsqml.qrc
- src/LayoutManager.qml 184 additions, 0 deletionssrc/LayoutManager.qml
- src/MainApplicationWindow.qml 6 additions, 15 deletionssrc/MainApplicationWindow.qml
- src/commoncomponents/DataTransferMessageDelegate.qml 8 additions, 32 deletionssrc/commoncomponents/DataTransferMessageDelegate.qml
- src/constant/JamiQmlUtils.qml 0 additions, 12 deletionssrc/constant/JamiQmlUtils.qml
- src/mainview/MainView.qml 7 additions, 18 deletionssrc/mainview/MainView.qml
- src/mainview/components/CallStackView.qml 14 additions, 29 deletionssrc/mainview/components/CallStackView.qml
- src/mainview/components/CallViewContextMenu.qml 4 additions, 3 deletionssrc/mainview/components/CallViewContextMenu.qml
src/LayoutManager.qml
0 → 100644
Please register or sign in to comment