From 87b36b9a8e98b6c63f5ee8f08e58057285dc819a Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 16 Sep 2023 09:36:14 -0400 Subject: Set tooltip to show link if link is set --- entry.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'entry.py') 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() + "") + body.setToolTip("{}".format(self.link)) output.addWidget(body) output.addStretch() -- cgit