summaryrefslogtreecommitdiff
path: root/entry.py
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-09-16 09:36:14 -0400
committerLouie S <louie@example.com>2023-09-16 09:36:14 -0400
commit87b36b9a8e98b6c63f5ee8f08e58057285dc819a (patch)
tree2cb8048cd26d3d85b8fa8d22b20c5c8d0b5ae6f9 /entry.py
parent1b861b1b2c15ec617051b746f8d207fca11cb869 (diff)
Set tooltip to show link if link is set
Diffstat (limited to 'entry.py')
-rw-r--r--entry.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/entry.py b/entry.py
index 0ff173a..67d290a 100644
--- a/entry.py
+++ b/entry.py
@@ -25,6 +25,7 @@ class Entry:
body.setTextInteractionFlags(Qt.TextSelectableByMouse | Qt.LinksAccessibleByMouse)
body.setFont(QFont("Arial", 11))
body.setWordWrap(True)
+ body.setToolTip("Right-Click for actions")
if self.done:
bullet.setText("\u2713 ")
@@ -45,6 +46,7 @@ class Entry:
body.setText(body.text() + self.desc)
if self.link:
body.setText(body.text() + "</a>")
+ body.setToolTip("{}".format(self.link))
output.addWidget(body)
output.addStretch()