telephant/qml/TweetView.qml
Christian Muehlhaeuser 8bed429389
Added UI and data mocks
2017-08-29 07:02:56 +02:00

34 lines
728 B
QML

import QtQuick 2.4
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
import QtQuick.Layouts 1.3
ColumnLayout {
property string name
property variant messageModel
TweetList {
Layout.fillHeight: true
Layout.fillWidth: true
id: tweetView
anchors.margins: 16
model: messageModel
headerPositioning: ListView.OverlayHeader
header: Rectangle {
width: parent.width
height: 32
z: 2
color: Material.background
Label {
anchors.fill: parent
text: name
font.pixelSize: 18
font.weight: Font.Light
}
}
}
}