Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112544
D18.1732332789.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
875 B
Referenced Files
None
Subscribers
None
D18.1732332789.diff
View Options
diff --git a/src/contents/ui/event-types/TextTemplate.qml b/src/contents/ui/event-types/TextTemplate.qml
--- a/src/contents/ui/event-types/TextTemplate.qml
+++ b/src/contents/ui/event-types/TextTemplate.qml
@@ -30,6 +30,21 @@
Layout.fillWidth: true
wrapMode: Text.Wrap
text: upper.text
+ onLinkActivated: (link) => {
+ Qt.openUrlExternally(link);
+ }
+ onHoveredLinkChanged: (link) => {
+ if (link) {
+ // first give it text, then make it visible
+ label.ToolTip.text = link;
+ label.ToolTip.visible = true;
+ } else {
+ // first make it invisible, then remove the text
+ label.ToolTip.visible = false;
+ label.ToolTip.text = '';
+ }
+ }
+ ToolTip.delay: Kirigami.Units.shortDuration
}
data: [
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 7:33 PM (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39044
Default Alt Text
D18.1732332789.diff (875 B)
Attached To
Mode
D18: Open link when clicked on
Attached
Detach File
Event Timeline
Log In to Comment