mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
Hide menu button if image is hovered
This commit is contained in:
parent
d3d7c667b9
commit
44c8cd6d1f
3 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ Column{
|
|||
property string lastTextSelected
|
||||
property alias textColor: message.color
|
||||
property alias textFont: message.font
|
||||
property alias fileIsHovering: fileMessage.isHovering
|
||||
|
||||
signal rightClicked()
|
||||
signal conferenceIcsCopied()
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ Row {
|
|||
|
||||
property bool isAnimatedImage : mainRow.contentModel && mainRow.contentModel.wasDownloaded && UtilsCpp.isAnimatedImage(mainRow.contentModel.filePath)
|
||||
property bool haveThumbnail: mainRow.contentModel && mainRow.contentModel.thumbnail
|
||||
property bool isHovering: thumbnailProvider.state == 'hovered'
|
||||
|
||||
signal copyAllDone()
|
||||
signal copySelectionDone()
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ Item {
|
|||
onLastTextSelectedChanged: container.lastTextSelected= lastTextSelected
|
||||
onRightClicked: chatMenu.open()
|
||||
onConferenceIcsCopied: container.conferenceIcsCopied()
|
||||
onFileIsHoveringChanged: menuButton.visible = !fileIsHovering
|
||||
Rectangle{
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
|
@ -177,6 +178,7 @@ Item {
|
|||
}
|
||||
|
||||
ActionButton {
|
||||
id: menuButton
|
||||
anchors.left:rectangle.right
|
||||
anchors.leftMargin: -10
|
||||
anchors.top:rectangle.top
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue