From 5963d889661f0895e9683fc0bdb1d770b7ec85de Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 21 Oct 2024 10:49:31 +0200 Subject: [PATCH] Format code --- src/leek/leek.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/leek/leek.py b/src/leek/leek.py index a95710e..9c93f47 100644 --- a/src/leek/leek.py +++ b/src/leek/leek.py @@ -34,8 +34,8 @@ class leekMainWindow(QMainWindow): layout.addWidget(self.label) layout.addWidget(button) - self.setMaximumSize(QSize(800,600)) - self.setMinimumSize(QSize(400,300)) + self.setMaximumSize(QSize(800, 600)) + self.setMinimumSize(QSize(400, 300)) container = QWidget() container.setLayout(layout) @@ -47,14 +47,13 @@ class leekMainWindow(QMainWindow): print("Button was clicked") def button_toggled(self, checked): - print("Checked?", checked ) + print("Checked?", checked) def main(): # If you know you won't use command line arguments QApplication([]) works too. app = QApplication(sys.argv) - # Create a Qt widget, which will be our window. window = leekMainWindow() window.show() # IMPORTANT!!!!! Windows are hidden by default.