matrix-nio backend start, QGuiApplication class

- Started work on the matrix-nio backend, which will be used instead
  of matrix-python-sdk for greater control and cleaner design

- Have an Application (QGuiApplication) class to habdle argument parsing
  and setting some Qt properties like application name
This commit is contained in:
miruka
2019-04-11 13:22:43 -04:00
parent 3b47fee77d
commit 4f9a47027c
12 changed files with 402 additions and 44 deletions

View File

@@ -24,10 +24,10 @@ Controls1.SplitView {
}
id: "pageStack"
initialItem: Chat.Root {
user: Backend.accountsModel.get(0)
room: Backend.roomsModel[Backend.accountsModel.get(0).user_id].get(0)
}
// initialItem: Chat.Root {
//user: Backend.accountsModel.get(0)
//room: Backend.roomsModel[Backend.accountsModel.get(0).user_id].get(0)
//}
onCurrentItemChanged: currentItem.forceActiveFocus()

View File

@@ -5,7 +5,6 @@ ApplicationWindow {
visible: true
width: 640
height: 700
title: "Harmony QML"
Loader {
anchors.fill: parent