mirror of
https://github.com/muesli/telephant
synced 2024-11-13 23:37:11 +00:00
Added a 'post' ToolButton to the header
This commit is contained in:
parent
df1d2a1d31
commit
8cc4b2e0ee
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue