Program modified
This commit is contained in:
parent
9356a49674
commit
8de91933c5
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||||
|
@ -74,7 +77,6 @@ class Bidule(QWidget):
|
||||||
else:
|
else:
|
||||||
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()
|
||||||
|
@ -83,4 +85,5 @@ def ouvrirBidule():
|
||||||
objet = Bidule()
|
objet = Bidule()
|
||||||
objet.show()
|
objet.show()
|
||||||
app.exec_()
|
app.exec_()
|
||||||
ouvrirBidule()
|
|
||||||
|
ouvrirBidule()
|
||||||
|
|
|
@ -31,4 +31,6 @@ def execution():# Exécuter une fois.
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
fen = Fenestre()
|
fen = Fenestre()
|
||||||
fen.show()
|
fen.show()
|
||||||
app.exec_()
|
app.exec_()
|
||||||
|
|
||||||
|
execution()
|
||||||
|
|
Loading…
Reference in a new issue