making labels selectable

This commit is contained in:
Chris Cochrun 2023-03-06 11:08:18 -06:00
parent 7fe2636b94
commit 7cd57e2376
3 changed files with 45 additions and 17 deletions

View file

@ -144,6 +144,20 @@ Item {
Layout.fillHeight: true
}
Controls.TextArea {
id: filePathLabel
Layout.alignment: Qt.AlignBottom
Layout.fillWidth: true
text: presentation.filePath
background: Item{}
readOnly: true
HoverHandler {
id: hoverHandler
enabled: false
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor
}
}
}
}