From 8de91933c5aeef1d41ac1468a8e9d92a662ab601 Mon Sep 17 00:00:00 2001 From: Alnotz Date: Mon, 25 Jul 2022 11:36:46 +0200 Subject: [PATCH] Program modified --- PyQt/bidule.py | 7 +++++-- PyQt/core.py | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/PyQt/bidule.py b/PyQt/bidule.py index 7983bbc..392513d 100644 --- a/PyQt/bidule.py +++ b/PyQt/bidule.py @@ -5,6 +5,9 @@ Created on Thu Jul 6 14:02:21 2017 @author: fh """ +########## +# BROKEN # +########## import numpy as np import sys from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout, QGridLayout, QLabel, QLineEdit, QCheckBox, QGroupBox @@ -74,7 +77,6 @@ class Bidule(QWidget): else: self.bouttons[l][c].setText(n[l][c]) ''' - def ouvrirBidule(): app = QApplication.instance() @@ -83,4 +85,5 @@ def ouvrirBidule(): objet = Bidule() objet.show() app.exec_() -ouvrirBidule() \ No newline at end of file + +ouvrirBidule() diff --git a/PyQt/core.py b/PyQt/core.py index 813bf58..b7259b9 100644 --- a/PyQt/core.py +++ b/PyQt/core.py @@ -31,4 +31,6 @@ def execution():# Exécuter une fois. app = QApplication(sys.argv) fen = Fenestre() fen.show() - app.exec_() \ No newline at end of file + app.exec_() + +execution()