Added a 'post' ToolButton to the header

This commit is contained in:
Christian Muehlhaeuser 2019-05-05 14:59:38 +02:00
parent df1d2a1d31
commit 8cc4b2e0ee
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E

View file

@ -113,6 +113,20 @@ ApplicationWindow {
}
}
ToolButton {
id: postButton
anchors.right: menuButton.left
contentItem: Image {
fillMode: Image.Pad
horizontalAlignment: Image.AlignHCenter
verticalAlignment: Image.AlignVCenter
source: "images/post.png"
}
onClicked: {
messagePopup.messageid = 0
messagePopup.open()
}
}
ToolButton {
id: menuButton
anchors.right: parent.right