mainapp: dynamically load views
Introduces the ViewCoordinator component to promote dynamic view loading and reduce coupling between components. The following objects are now created and destroyed as needed: - SettingsView - WizardView - dialogs Further refactoring will be required in order to do the same with the ConversationView, which now parents the ChatView and the CallStackView. Gitlab: #897 Change-Id: Ice6a0c133e62e1e0c8d7fb99ec2c41234c049b59
Showing
- src/app/LayoutManager.qml 6 additions, 3 deletionssrc/app/LayoutManager.qml
- src/app/MainApplicationWindow.qml 31 additions, 13 deletionssrc/app/MainApplicationWindow.qml
- src/app/ViewCoordinator.qml 386 additions, 0 deletionssrc/app/ViewCoordinator.qml
- src/app/accountadapter.cpp 0 additions, 17 deletionssrc/app/accountadapter.cpp
- src/app/accountadapter.h 0 additions, 4 deletionssrc/app/accountadapter.h
- src/app/avadapter.h 3 additions, 3 deletionssrc/app/avadapter.h
- src/app/calladapter.h 0 additions, 3 deletionssrc/app/calladapter.h
- src/app/calloverlaymodel.cpp 11 additions, 5 deletionssrc/app/calloverlaymodel.cpp
- src/app/commoncomponents/BaseView.qml 42 additions, 0 deletionssrc/app/commoncomponents/BaseView.qml
- src/app/commoncomponents/ConfirmDialog.qml 6 additions, 4 deletionssrc/app/commoncomponents/ConfirmDialog.qml
- src/app/commoncomponents/DaemonReconnectPopup.qml 20 additions, 0 deletionssrc/app/commoncomponents/DaemonReconnectPopup.qml
- src/app/commoncomponents/DeleteAccountDialog.qml 2 additions, 2 deletionssrc/app/commoncomponents/DeleteAccountDialog.qml
- src/app/commoncomponents/JamiFileDialog.qml 11 additions, 0 deletionssrc/app/commoncomponents/JamiFileDialog.qml
- src/app/commoncomponents/LocalVideo.qml 1 addition, 1 deletionsrc/app/commoncomponents/LocalVideo.qml
- src/app/commoncomponents/PasswordDialog.qml 33 additions, 17 deletionssrc/app/commoncomponents/PasswordDialog.qml
- src/app/commoncomponents/PhotoboothView.qml 19 additions, 46 deletionssrc/app/commoncomponents/PhotoboothView.qml
- src/app/commoncomponents/PreferenceItemDelegate.qml 15 additions, 17 deletionssrc/app/commoncomponents/PreferenceItemDelegate.qml
- src/app/commoncomponents/SBSMessageBase.qml 15 additions, 8 deletionssrc/app/commoncomponents/SBSMessageBase.qml
- src/app/commoncomponents/TextMessageDelegate.qml 4 additions, 7 deletionssrc/app/commoncomponents/TextMessageDelegate.qml
- src/app/constant/JamiQmlUtils.qml 2 additions, 0 deletionssrc/app/constant/JamiQmlUtils.qml
Loading
Please register or sign in to comment