# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main_ui.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(947, 722) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.gridLayout = QtWidgets.QGridLayout(self.centralwidget) self.gridLayout.setObjectName("gridLayout") self.tabWidget = QtWidgets.QTabWidget(self.centralwidget) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.gridLayout_3 = QtWidgets.QGridLayout(self.tab) self.gridLayout_3.setObjectName("gridLayout_3") self.tab1menu = QtWidgets.QGridLayout() self.tab1menu.setContentsMargins(-1, 30, -1, -1) self.tab1menu.setObjectName("tab1menu") self.gridLCD = QtWidgets.QGridLayout() self.gridLCD.setObjectName("gridLCD") self.lcdNumber_pressure = QtWidgets.QLCDNumber(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(100) sizePolicy.setHeightForWidth(self.lcdNumber_pressure.sizePolicy().hasHeightForWidth()) self.lcdNumber_pressure.setSizePolicy(sizePolicy) self.lcdNumber_pressure.setMinimumSize(QtCore.QSize(100, 100)) self.lcdNumber_pressure.setObjectName("lcdNumber_pressure") self.gridLCD.addWidget(self.lcdNumber_pressure, 1, 0, 1, 1) self.label = QtWidgets.QLabel(self.tab) self.label.setObjectName("label") self.gridLCD.addWidget(self.label, 0, 0, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLCD.addItem(spacerItem, 1, 1, 1, 1) self.tab1menu.addLayout(self.gridLCD, 0, 1, 1, 1) self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setContentsMargins(20, -1, -1, -1) self.gridLayout_5.setObjectName("gridLayout_5") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setObjectName("label_2") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2) self.pushButton_5 = QtWidgets.QPushButton(self.tab) self.pushButton_5.setObjectName("pushButton_5") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.pushButton_5) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3) self.pushButton_4 = QtWidgets.QPushButton(self.tab) self.pushButton_4.setObjectName("pushButton_4") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pushButton_4) self.label_4 = QtWidgets.QLabel(self.tab) self.label_4.setObjectName("label_4") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4) self.pushButton_3 = QtWidgets.QPushButton(self.tab) self.pushButton_3.setObjectName("pushButton_3") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.pushButton_3) self.gridLayout_5.addLayout(self.formLayout, 1, 0, 1, 1) self.tab1menu.addLayout(self.gridLayout_5, 0, 2, 1, 1) self.gridLayout_3.addLayout(self.tab1menu, 0, 0, 1, 1) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.tabWidget.addTab(self.tab_2, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.tabWidget.addTab(self.tab_3, "") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.tabWidget.addTab(self.tab_4, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.tabWidget.addTab(self.tab_5, "") self.tab_6 = QtWidgets.QWidget() self.tab_6.setObjectName("tab_6") self.tabWidget.addTab(self.tab_6, "") self.tab_7 = QtWidgets.QWidget() self.tab_7.setObjectName("tab_7") self.tabWidget.addTab(self.tab_7, "") self.tab_8 = QtWidgets.QWidget() self.tab_8.setObjectName("tab_8") self.tabWidget.addTab(self.tab_8, "") self.gridLayout.addWidget(self.tabWidget, 0, 0, 2, 1) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.saveButton = QtWidgets.QPushButton(self.centralwidget) self.saveButton.setObjectName("saveButton") self.horizontalLayout_2.addWidget(self.saveButton) self.gridLayout.addLayout(self.horizontalLayout_2, 3, 0, 1, 1) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 947, 22)) self.menubar.setObjectName("menubar") self.menuFile = QtWidgets.QMenu(self.menubar) self.menuFile.setObjectName("menuFile") self.menuEdit = QtWidgets.QMenu(self.menubar) self.menuEdit.setObjectName("menuEdit") self.menuView = QtWidgets.QMenu(self.menubar) self.menuView.setObjectName("menuView") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuEdit.menuAction()) self.menubar.addAction(self.menuView.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) self.label.setText(_translate("MainWindow", "Anzeige1")) self.label_2.setText(_translate("MainWindow", "TextLabel")) self.pushButton_5.setText(_translate("MainWindow", "PushButton")) self.label_3.setText(_translate("MainWindow", "TextLabel")) self.pushButton_4.setText(_translate("MainWindow", "PushButton")) self.label_4.setText(_translate("MainWindow", "TextLabel")) self.pushButton_3.setText(_translate("MainWindow", "PushButton")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Fenster1")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Fenster2")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Fenster3")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Fenster4")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Fenster5")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Fenster6")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Fenster7")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Fenster8")) self.saveButton.setText(_translate("MainWindow", "save")) self.menuFile.setTitle(_translate("MainWindow", "File")) self.menuEdit.setTitle(_translate("MainWindow", "Edit")) self.menuView.setTitle(_translate("MainWindow", "View"))