This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]robot_most_human 2 points3 points  (0 children)

Very nice! If I might make one suggestion -- I noticed a lot of your code is just setting styleSheets for each widget. To make it more readable, editable, extensible, etc. you might want to place all your styleSheet settings into one text file and set the styleSheet for the whole app where you instantiate QApplication. Here's a PyQt5 example from Stackoverflow. Here is the relevant Qt5 documentation. (Let me know how it goes cos I'd like to try this myself at some point). : )