Add tooltips
This commit is contained in:
@@ -121,13 +121,15 @@ RowLayout {
|
|||||||
anchors.right: controlContainer.right
|
anchors.right: controlContainer.right
|
||||||
spacing: 0
|
spacing: 0
|
||||||
QQC2.Button {
|
QQC2.Button {
|
||||||
QQC2.ToolTip.text: i18n("React")
|
QQC2.ToolTip.text: i18n("React") + " (not implemented yet)"
|
||||||
|
QQC2.ToolTip.visible: hovered
|
||||||
visible: controlContainer.hovered
|
visible: controlContainer.hovered
|
||||||
icon.name: "preferences-desktop-emoticons"
|
icon.name: "preferences-desktop-emoticons"
|
||||||
// TODO onClicked
|
// TODO onClicked
|
||||||
}
|
}
|
||||||
QQC2.Button {
|
QQC2.Button {
|
||||||
QQC2.ToolTip.text: i18n("Reply")
|
QQC2.ToolTip.text: i18n("Reply")
|
||||||
|
QQC2.ToolTip.visible: hovered
|
||||||
visible: controlContainer.hovered
|
visible: controlContainer.hovered
|
||||||
icon.name: "mail-replied-symbolic"
|
icon.name: "mail-replied-symbolic"
|
||||||
onClicked: replyToMessage(author, message, eventId)
|
onClicked: replyToMessage(author, message, eventId)
|
||||||
|
|||||||
Reference in New Issue
Block a user