Supprimer 'test.py'
parent
21c4e7eb54
commit
b7ab01963b
@ -1,115 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Form implementation generated from reading ui file 'filtre.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.pushButton = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.pushButton.setGeometry(QtCore.QRect(560, 450, 90, 35))
|
|
||||||
self.pushButton.setObjectName(_fromUtf8("pushButton"))
|
|
||||||
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.lineEdit = QtGui.QLineEdit(self.verticalLayoutWidget)
|
|
||||||
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
|
|
||||||
self.verticalLayout.addWidget(self.lineEdit)
|
|
||||||
self.lineEdit_2 = QtGui.QLineEdit(self.verticalLayoutWidget)
|
|
||||||
self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2"))
|
|
||||||
self.verticalLayout.addWidget(self.lineEdit_2)
|
|
||||||
self.lineEdit_3 = QtGui.QLineEdit(self.verticalLayoutWidget)
|
|
||||||
self.lineEdit_3.setObjectName(_fromUtf8("lineEdit_3"))
|
|
||||||
self.verticalLayout.addWidget(self.lineEdit_3)
|
|
||||||
self.spinBox = QtGui.QSpinBox(self.verticalLayoutWidget)
|
|
||||||
self.spinBox.setObjectName(_fromUtf8("spinBox"))
|
|
||||||
self.verticalLayout.addWidget(self.spinBox)
|
|
||||||
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.pushButton_2 = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.pushButton_2.setGeometry(QtCore.QRect(460, 450, 90, 35))
|
|
||||||
self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
|
|
||||||
self.tableWidget = QtGui.QTableWidget(self.centralwidget)
|
|
||||||
self.tableWidget.setGeometry(QtCore.QRect(230, 220, 411, 191))
|
|
||||||
self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
|
|
||||||
self.tableWidget.setColumnCount(0)
|
|
||||||
self.tableWidget.setRowCount(0)
|
|
||||||
self.pushButton.raise_()
|
|
||||||
self.verticalLayoutWidget.raise_()
|
|
||||||
self.verticalLayoutWidget_2.raise_()
|
|
||||||
self.label_2.raise_()
|
|
||||||
self.spinBox.raise_()
|
|
||||||
self.pushButton_2.raise_()
|
|
||||||
self.tableWidget.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.retranslateUi(MainWindow)
|
|
||||||
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
||||||
|
|
||||||
def retranslateUi(self, MainWindow):
|
|
||||||
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
|
|
||||||
self.pushButton.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.pushButton_2.setText(_translate("MainWindow", "Reset", None))
|
|
||||||
|
|
||||||
|
|
||||||
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_())
|
|
||||||
|
|
Loading…
Reference in New Issue