Init sync and listmodel function.

This commit is contained in:
Black Hat
2018-02-28 21:11:42 +08:00
parent a4b00f823e
commit c3367543bf
12 changed files with 143 additions and 124 deletions

View File

@@ -70,22 +70,22 @@ ApplicationWindow {
}
}
// ButtonDelegate {
// index: 2
// contentItem: Text {
// text: "\ue5d2"
// font.pointSize: 16
// font.family: materialFont.name
// color: "white"
// horizontalAlignment: Text.AlignHCenter
// verticalAlignment: Text.AlignVCenter
// }
// }
ButtonDelegate {
index: 2
contentItem: Text {
text: "\ue5d2"
font.pointSize: 16
font.family: materialFont.name
color: "white"
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}
ButtonDelegate {
index: 3
contentItem: Text {
text: "\ue8b8"
font.pointSize: 16
@@ -97,7 +97,7 @@ ApplicationWindow {
}
ButtonDelegate {
index: 4
index: 3
contentItem: Text {
text: "\ue879"
@@ -120,8 +120,8 @@ ApplicationWindow {
interactive: false
orientation: Qt.Vertical
Home {
Room {
roomListModel: controller.roomListModel
}
Login {
@@ -130,10 +130,6 @@ ApplicationWindow {
controller: controller
}
Room {
roomListModel: controller.roomListModel
}
Setting {
}