Skip to content

Commit 0b13bf7

Browse files
Update app.py
1 parent 31faf4d commit 0b13bf7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ def show_command(self, command):
9292
def main():
9393
app = QApplication(sys.argv)
9494

95+
# Read the stylesheet
96+
with open('style.qss', 'r') as f:
97+
stylesheet = f.read()
98+
99+
# Apply the stylesheet
100+
app.setStyleSheet(stylesheet)
101+
95102
ex = App()
96103
ex.show()
97104

0 commit comments

Comments
 (0)