making labels selectable
This commit is contained in:
parent
7fe2636b94
commit
7cd57e2376
3 changed files with 45 additions and 17 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue