2018-09-17 21:21:57 +00:00
|
|
|
import QtQuick 2.9
|
|
|
|
import QtQuick.Window 2.2
|
|
|
|
|
|
|
|
Window {
|
|
|
|
visible: true
|
|
|
|
width: 1024
|
|
|
|
height: 800
|
2018-10-04 04:34:44 +00:00
|
|
|
title: qsTr("Bulletin")
|
2018-09-17 21:21:57 +00:00
|
|
|
|
2018-10-04 04:34:44 +00:00
|
|
|
ProfilesColumn {
|
|
|
|
id: profilesColumn
|
|
|
|
model: profiles
|
|
|
|
}
|
2018-09-17 21:21:57 +00:00
|
|
|
|
2018-10-04 04:34:44 +00:00
|
|
|
GroupsColumn {
|
|
|
|
id: groupsColumn
|
|
|
|
anchors.left: profilesColumn.right
|
|
|
|
model: groups
|
|
|
|
}
|
2018-09-17 21:21:57 +00:00
|
|
|
|
2018-10-04 04:34:44 +00:00
|
|
|
ListModel {
|
|
|
|
id: profiles
|
2018-09-17 21:21:57 +00:00
|
|
|
|
2018-10-04 04:34:44 +00:00
|
|
|
ListElement {name: "alice"; onion: "710829b408e8b368273cbc20b07f1c0d"; pcolor: "#ff0000"}
|
|
|
|
ListElement {name: "bob"; onion: "a219b9740fc76367833cbc20b07d1cee"; pcolor: "#00ff00" }
|
|
|
|
ListElement {name: "carol"; onion: "930829b408e8b364563cbc20b07a6560"; pcolor: "#0000ff" }
|
2018-09-17 21:21:57 +00:00
|
|
|
|
2018-10-04 04:34:44 +00:00
|
|
|
}
|
2018-09-17 21:21:57 +00:00
|
|
|
|
|
|
|
ListModel {
|
2018-10-04 04:34:44 +00:00
|
|
|
id: groups
|
2018-09-17 21:21:57 +00:00
|
|
|
|
|
|
|
ListElement {type: "group"; title: "Work Friends"; groupid: "710829b408e8b368273cbc20b07f1c0d"}
|
|
|
|
ListElement {type: "group"; title: "Cwtch Dev"; groupid: "a219b9740fc76367833cbc20b07d1cee" }
|
|
|
|
ListElement {type: "group"; title: "Gaming Squad"; groupid: "930829b408e8b364563cbc20b07a6560" }
|
|
|
|
|
|
|
|
ListElement {type: "bulletin"; title: "Vancouver Listings"; groupid: "890a47403e87368273cbc2ebf7f1cdc"}
|
|
|
|
ListElement {type: "bulletin"; title: "Game Discussions"; groupid: "cc45892408123879273ec2a435cc4234"}
|
|
|
|
}
|
2018-10-04 04:34:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-17 21:21:57 +00:00
|
|
|
}
|