main_ui.py 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'main_ui.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.14.1
  5. #
  6. # WARNING! All changes made in this file will be lost!
  7. from PyQt5 import QtCore, QtGui, QtWidgets
  8. class Ui_MainWindow(object):
  9. def setupUi(self, MainWindow):
  10. MainWindow.setObjectName("MainWindow")
  11. MainWindow.resize(947, 722)
  12. self.centralwidget = QtWidgets.QWidget(MainWindow)
  13. self.centralwidget.setObjectName("centralwidget")
  14. self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
  15. self.gridLayout.setObjectName("gridLayout")
  16. self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
  17. self.tabWidget.setObjectName("tabWidget")
  18. self.tab = QtWidgets.QWidget()
  19. self.tab.setObjectName("tab")
  20. self.gridLayout_3 = QtWidgets.QGridLayout(self.tab)
  21. self.gridLayout_3.setObjectName("gridLayout_3")
  22. self.tab1menu = QtWidgets.QGridLayout()
  23. self.tab1menu.setContentsMargins(-1, 30, -1, -1)
  24. self.tab1menu.setObjectName("tab1menu")
  25. self.gridLCD = QtWidgets.QGridLayout()
  26. self.gridLCD.setObjectName("gridLCD")
  27. self.lcdNumber_pressure = QtWidgets.QLCDNumber(self.tab)
  28. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
  29. sizePolicy.setHorizontalStretch(0)
  30. sizePolicy.setVerticalStretch(100)
  31. sizePolicy.setHeightForWidth(self.lcdNumber_pressure.sizePolicy().hasHeightForWidth())
  32. self.lcdNumber_pressure.setSizePolicy(sizePolicy)
  33. self.lcdNumber_pressure.setMinimumSize(QtCore.QSize(100, 100))
  34. self.lcdNumber_pressure.setObjectName("lcdNumber_pressure")
  35. self.gridLCD.addWidget(self.lcdNumber_pressure, 1, 0, 1, 1)
  36. self.label = QtWidgets.QLabel(self.tab)
  37. self.label.setObjectName("label")
  38. self.gridLCD.addWidget(self.label, 0, 0, 1, 1)
  39. spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
  40. self.gridLCD.addItem(spacerItem, 1, 1, 1, 1)
  41. self.tab1menu.addLayout(self.gridLCD, 0, 1, 1, 1)
  42. self.gridLayout_5 = QtWidgets.QGridLayout()
  43. self.gridLayout_5.setContentsMargins(20, -1, -1, -1)
  44. self.gridLayout_5.setObjectName("gridLayout_5")
  45. self.formLayout = QtWidgets.QFormLayout()
  46. self.formLayout.setObjectName("formLayout")
  47. self.label_2 = QtWidgets.QLabel(self.tab)
  48. self.label_2.setObjectName("label_2")
  49. self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2)
  50. self.pushButton_5 = QtWidgets.QPushButton(self.tab)
  51. self.pushButton_5.setObjectName("pushButton_5")
  52. self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.pushButton_5)
  53. self.label_3 = QtWidgets.QLabel(self.tab)
  54. self.label_3.setObjectName("label_3")
  55. self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3)
  56. self.pushButton_4 = QtWidgets.QPushButton(self.tab)
  57. self.pushButton_4.setObjectName("pushButton_4")
  58. self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pushButton_4)
  59. self.label_4 = QtWidgets.QLabel(self.tab)
  60. self.label_4.setObjectName("label_4")
  61. self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4)
  62. self.pushButton_3 = QtWidgets.QPushButton(self.tab)
  63. self.pushButton_3.setObjectName("pushButton_3")
  64. self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.pushButton_3)
  65. self.gridLayout_5.addLayout(self.formLayout, 1, 0, 1, 1)
  66. self.tab1menu.addLayout(self.gridLayout_5, 0, 2, 1, 1)
  67. self.gridLayout_3.addLayout(self.tab1menu, 0, 0, 1, 1)
  68. self.tabWidget.addTab(self.tab, "")
  69. self.tab_2 = QtWidgets.QWidget()
  70. self.tab_2.setObjectName("tab_2")
  71. self.tabWidget.addTab(self.tab_2, "")
  72. self.tab_3 = QtWidgets.QWidget()
  73. self.tab_3.setObjectName("tab_3")
  74. self.tabWidget.addTab(self.tab_3, "")
  75. self.tab_4 = QtWidgets.QWidget()
  76. self.tab_4.setObjectName("tab_4")
  77. self.tabWidget.addTab(self.tab_4, "")
  78. self.tab_5 = QtWidgets.QWidget()
  79. self.tab_5.setObjectName("tab_5")
  80. self.tabWidget.addTab(self.tab_5, "")
  81. self.tab_6 = QtWidgets.QWidget()
  82. self.tab_6.setObjectName("tab_6")
  83. self.tabWidget.addTab(self.tab_6, "")
  84. self.tab_7 = QtWidgets.QWidget()
  85. self.tab_7.setObjectName("tab_7")
  86. self.tabWidget.addTab(self.tab_7, "")
  87. self.tab_8 = QtWidgets.QWidget()
  88. self.tab_8.setObjectName("tab_8")
  89. self.tabWidget.addTab(self.tab_8, "")
  90. self.gridLayout.addWidget(self.tabWidget, 0, 0, 2, 1)
  91. self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
  92. self.horizontalLayout_2.setObjectName("horizontalLayout_2")
  93. self.saveButton = QtWidgets.QPushButton(self.centralwidget)
  94. self.saveButton.setObjectName("saveButton")
  95. self.horizontalLayout_2.addWidget(self.saveButton)
  96. self.gridLayout.addLayout(self.horizontalLayout_2, 3, 0, 1, 1)
  97. MainWindow.setCentralWidget(self.centralwidget)
  98. self.menubar = QtWidgets.QMenuBar(MainWindow)
  99. self.menubar.setGeometry(QtCore.QRect(0, 0, 947, 22))
  100. self.menubar.setObjectName("menubar")
  101. self.menuFile = QtWidgets.QMenu(self.menubar)
  102. self.menuFile.setObjectName("menuFile")
  103. self.menuEdit = QtWidgets.QMenu(self.menubar)
  104. self.menuEdit.setObjectName("menuEdit")
  105. self.menuView = QtWidgets.QMenu(self.menubar)
  106. self.menuView.setObjectName("menuView")
  107. MainWindow.setMenuBar(self.menubar)
  108. self.statusbar = QtWidgets.QStatusBar(MainWindow)
  109. self.statusbar.setObjectName("statusbar")
  110. MainWindow.setStatusBar(self.statusbar)
  111. self.menubar.addAction(self.menuFile.menuAction())
  112. self.menubar.addAction(self.menuEdit.menuAction())
  113. self.menubar.addAction(self.menuView.menuAction())
  114. self.retranslateUi(MainWindow)
  115. self.tabWidget.setCurrentIndex(0)
  116. QtCore.QMetaObject.connectSlotsByName(MainWindow)
  117. def retranslateUi(self, MainWindow):
  118. _translate = QtCore.QCoreApplication.translate
  119. MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
  120. self.label.setText(_translate("MainWindow", "Anzeige1"))
  121. self.label_2.setText(_translate("MainWindow", "TextLabel"))
  122. self.pushButton_5.setText(_translate("MainWindow", "PushButton"))
  123. self.label_3.setText(_translate("MainWindow", "TextLabel"))
  124. self.pushButton_4.setText(_translate("MainWindow", "PushButton"))
  125. self.label_4.setText(_translate("MainWindow", "TextLabel"))
  126. self.pushButton_3.setText(_translate("MainWindow", "PushButton"))
  127. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Fenster1"))
  128. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Fenster2"))
  129. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Fenster3"))
  130. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Fenster4"))
  131. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Fenster5"))
  132. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Fenster6"))
  133. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Fenster7"))
  134. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Fenster8"))
  135. self.saveButton.setText(_translate("MainWindow", "save"))
  136. self.menuFile.setTitle(_translate("MainWindow", "File"))
  137. self.menuEdit.setTitle(_translate("MainWindow", "Edit"))
  138. self.menuView.setTitle(_translate("MainWindow", "View"))