From 5ec8db4908fab13292c9b030f92e2468b9460e99 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 16 Sep 2023 09:36:14 -0400 Subject: Color completed entries green --- entry.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'entry.py') diff --git a/entry.py b/entry.py index b51f38d..0254093 100644 --- a/entry.py +++ b/entry.py @@ -26,6 +26,16 @@ class Entry: if self.done: bullet.setText("\u2713 ") + bullet.setStyleSheet(""" + QLabel{ + color: green; + } + """) + body.setStyleSheet(""" + QLabel{ + color: green; + } + """) else: bullet.setText("- ") output.addWidget(bullet) -- cgit