Supprimer 'test2.py'

This commit is contained in:
Flavien Haas 2019-03-12 21:54:40 +00:00
parent b7ab01963b
commit f36780416c

126
test2.py
View File

@ -1,126 +0,0 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'filtre2.ui'
#
# Created by: PyQt4 UI code generator 4.12.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(800, 600)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.Calculer = QtGui.QPushButton(self.centralwidget)
self.Calculer.setGeometry(QtCore.QRect(560, 450, 90, 35))
self.Calculer.setObjectName(_fromUtf8("Calculer"))
self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(230, 60, 411, 152))
self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setMargin(0)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.frequence = QtGui.QLineEdit(self.verticalLayoutWidget)
self.frequence.setObjectName(_fromUtf8("frequence"))
self.verticalLayout.addWidget(self.frequence)
self.amplitude = QtGui.QLineEdit(self.verticalLayoutWidget)
self.amplitude.setObjectName(_fromUtf8("amplitude"))
self.verticalLayout.addWidget(self.amplitude)
self.imdance = QtGui.QLineEdit(self.verticalLayoutWidget)
self.imdance.setObjectName(_fromUtf8("imdance"))
self.verticalLayout.addWidget(self.imdance)
self.ordre = QtGui.QSpinBox(self.verticalLayoutWidget)
self.ordre.setObjectName(_fromUtf8("ordre"))
self.verticalLayout.addWidget(self.ordre)
self.verticalLayoutWidget_2 = QtGui.QWidget(self.centralwidget)
self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(32, 60, 201, 151))
self.verticalLayoutWidget_2.setObjectName(_fromUtf8("verticalLayoutWidget_2"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
self.verticalLayout_2.setMargin(0)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.label_2 = QtGui.QLabel(self.verticalLayoutWidget_2)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.verticalLayout_2.addWidget(self.label_2)
self.label_3 = QtGui.QLabel(self.verticalLayoutWidget_2)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.verticalLayout_2.addWidget(self.label_3)
self.label_4 = QtGui.QLabel(self.verticalLayoutWidget_2)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.verticalLayout_2.addWidget(self.label_4)
self.label = QtGui.QLabel(self.verticalLayoutWidget_2)
self.label.setObjectName(_fromUtf8("label"))
self.verticalLayout_2.addWidget(self.label)
self.reset = QtGui.QPushButton(self.centralwidget)
self.reset.setGeometry(QtCore.QRect(460, 450, 90, 35))
self.reset.setObjectName(_fromUtf8("reset"))
self.lineEdit = QtGui.QLineEdit(self.centralwidget)
self.lineEdit.setGeometry(QtCore.QRect(370, 20, 113, 33))
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
self.tableView = QtGui.QTableView(self.centralwidget)
self.tableView.setGeometry(QtCore.QRect(230, 230, 421, 192))
self.tableView.setObjectName(_fromUtf8("tableView"))
self.Calculer.raise_()
self.verticalLayoutWidget.raise_()
self.verticalLayoutWidget_2.raise_()
self.label_2.raise_()
self.ordre.raise_()
self.reset.raise_()
self.lineEdit.raise_()
self.tableView.raise_()
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 31))
self.menubar.setObjectName(_fromUtf8("menubar"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.actionCalculer = QtGui.QAction(MainWindow)
self.actionCalculer.setObjectName(_fromUtf8("actionCalculer"))
self.retranslateUi(MainWindow)
QtCore.QObject.connect(self.reset, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.show)
QtCore.QObject.connect(self.reset, QtCore.SIGNAL(_fromUtf8("clicked()")), self.frequence.clear)
QtCore.QObject.connect(self.reset, QtCore.SIGNAL(_fromUtf8("clicked()")), self.amplitude.clear)
QtCore.QObject.connect(self.reset, QtCore.SIGNAL(_fromUtf8("clicked()")), self.imdance.clear)
QtCore.QObject.connect(self.reset, QtCore.SIGNAL(_fromUtf8("clicked()")), self.ordre.clear)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
self.Calculer.setText(_translate("MainWindow", "Calculer", None))
self.label_2.setText(_translate("MainWindow", "Fréquence de coupure", None))
self.label_3.setText(_translate("MainWindow", "Amplitude", None))
self.label_4.setText(_translate("MainWindow", "Impédance d\'entrée", None))
self.label.setText(_translate("MainWindow", "Ordre", None))
self.reset.setText(_translate("MainWindow", "Reset", None))
self.lineEdit.setText(_translate("MainWindow", "Filtres", None))
self.actionCalculer.setText(_translate("MainWindow", "calculer", None))
import test_rc
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
MainWindow = QtGui.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())