Program modified

This commit is contained in:
F. Y. H. 2022-07-25 11:36:46 +02:00
parent 9356a49674
commit 8de91933c5
2 changed files with 8 additions and 3 deletions

View file

@ -5,6 +5,9 @@ Created on Thu Jul 6 14:02:21 2017
@author: fh @author: fh
""" """
##########
# BROKEN #
##########
import numpy as np import numpy as np
import sys import sys
from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout, QGridLayout, QLabel, QLineEdit, QCheckBox, QGroupBox from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout, QGridLayout, QLabel, QLineEdit, QCheckBox, QGroupBox
@ -75,7 +78,6 @@ class Bidule(QWidget):
self.bouttons[l][c].setText(n[l][c]) self.bouttons[l][c].setText(n[l][c])
''' '''
def ouvrirBidule(): def ouvrirBidule():
app = QApplication.instance() app = QApplication.instance()
if not app: if not app:
@ -83,4 +85,5 @@ def ouvrirBidule():
objet = Bidule() objet = Bidule()
objet.show() objet.show()
app.exec_() app.exec_()
ouvrirBidule() ouvrirBidule()

View file

@ -32,3 +32,5 @@ def execution():# Exécuter une fois.
fen = Fenestre() fen = Fenestre()
fen.show() fen.show()
app.exec_() app.exec_()
execution()