Open M4rtinK opened 5 years ago
Looks like this might not be doable due to limitations of the QML Text
element. There is just linkActivated
that gets triggered when a link is clicked and that's it.
Thanks for investigation. Please let this open, I will try to look on a different approach if I'll be able to find some time :D
Just got an idea - looks like both normal and long clicks always trigger the linkActivated
signal. So theoretically if we overlaid a mouse area over the text element, we could differentiate normal and long clicks and handle linkActivated
differently based on that.
Sounds nice!
It would be useful if long press on a link opened a quick menu: