forked from jeena/FeedTheMonkey
added listview
This commit is contained in:
parent
6146758f59
commit
923d514dff
5 changed files with 52 additions and 17 deletions
18
main.qml
18
main.qml
|
@ -10,12 +10,22 @@ ApplicationWindow {
|
|||
|
||||
menuBar: TheMenuBar {}
|
||||
|
||||
Content {
|
||||
id: content
|
||||
anchors.fill: parent
|
||||
visible: false
|
||||
Row {
|
||||
ListView {
|
||||
width: 300
|
||||
model: server.posts
|
||||
delegate: Text {
|
||||
text: title
|
||||
}
|
||||
}
|
||||
Content {
|
||||
id: content
|
||||
anchors.fill: parent
|
||||
visible: false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Login {
|
||||
id: login
|
||||
anchors.fill: parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue