qtCwtchBulletinGo/qml/MainWindow.qml

60 lines
1.7 KiB
QML
Raw Permalink Normal View History

2018-09-17 21:21:57 +00:00
import QtQuick 2.9
import QtQuick.Window 2.2
Window {
//visible: false
id: mainWindow
2018-09-17 21:21:57 +00:00
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
2018-10-17 04:18:04 +00:00
anchors.top: parent.top
anchors.left: parent.left
height: parent.height
width: 100
2018-10-04 04:34:44 +00:00
}
2018-09-17 21:21:57 +00:00
2018-10-04 04:34:44 +00:00
GroupsColumn {
id: groupsColumn
model: groups
2018-10-17 04:18:04 +00:00
anchors.top: parent.top
anchors.left: profilesColumn.right
height: parent.height
width: 250
2018-10-04 04:34:44 +00:00
}
2018-09-17 21:21:57 +00:00
2018-10-17 04:18:04 +00:00
/*ListModel {
2018-10-04 04:34:44 +00:00
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" }
ListElement {name: "+"; onion: "930829b408e8b364563cbc20b07a6560"; pcolor: "#a0a0a0" }
2018-10-17 04:18:04 +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-10-19 04:08:06 +00:00
/*Connections {
2018-10-17 04:18:04 +00:00
target: cwtchApp
2018-10-04 04:34:44 +00:00
2018-10-19 04:08:06 +00:00
onIdentitiesChanged: { ProfilesColumn.model = cwtchApp.identities ;
profilesColumn.update();
2018-10-17 04:18:04 +00:00
}
2018-10-19 04:08:06 +00:00
}*/
2018-10-04 04:34:44 +00:00
2018-09-17 21:21:57 +00:00
}