83 lines
3.7 KiB
Python
83 lines
3.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'test_0415_ui.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.6
|
|
#
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.resize(1330, 864)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
spacerItem = QtWidgets.QSpacerItem(846, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.gridLayout.addItem(spacerItem, 0, 1, 1, 1)
|
|
self.bt_3 = QtWidgets.QPushButton(self.centralwidget)
|
|
font = QtGui.QFont()
|
|
font.setPointSize(9)
|
|
self.bt_3.setFont(font)
|
|
self.bt_3.setObjectName("bt_3")
|
|
self.gridLayout.addWidget(self.bt_3, 3, 0, 1, 1)
|
|
spacerItem1 = QtWidgets.QSpacerItem(20, 617, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
self.gridLayout.addItem(spacerItem1, 4, 0, 3, 1)
|
|
self.view_3 = QtWidgets.QLabel(self.centralwidget)
|
|
self.view_3.setMinimumSize(QtCore.QSize(300, 250))
|
|
self.view_3.setScaledContents(True)
|
|
self.view_3.setObjectName("view_3")
|
|
self.gridLayout.addWidget(self.view_3, 5, 2, 1, 1)
|
|
self.view_4 = QtWidgets.QLabel(self.centralwidget)
|
|
self.view_4.setMinimumSize(QtCore.QSize(300, 250))
|
|
self.view_4.setScaledContents(True)
|
|
self.view_4.setObjectName("view_4")
|
|
self.gridLayout.addWidget(self.view_4, 6, 2, 1, 1)
|
|
self.view_1 = QtWidgets.QLabel(self.centralwidget)
|
|
self.view_1.setMinimumSize(QtCore.QSize(500, 400))
|
|
self.view_1.setScaledContents(True)
|
|
self.view_1.setObjectName("view_1")
|
|
self.gridLayout.addWidget(self.view_1, 1, 1, 6, 1)
|
|
self.view_2 = QtWidgets.QLabel(self.centralwidget)
|
|
self.view_2.setMinimumSize(QtCore.QSize(300, 250))
|
|
self.view_2.setScaledContents(True)
|
|
self.view_2.setObjectName("view_2")
|
|
self.gridLayout.addWidget(self.view_2, 1, 2, 4, 1)
|
|
self.bt_2 = QtWidgets.QPushButton(self.centralwidget)
|
|
font = QtGui.QFont()
|
|
font.setPointSize(9)
|
|
self.bt_2.setFont(font)
|
|
self.bt_2.setObjectName("bt_2")
|
|
self.gridLayout.addWidget(self.bt_2, 2, 0, 1, 1)
|
|
self.bt_1 = QtWidgets.QPushButton(self.centralwidget)
|
|
font = QtGui.QFont()
|
|
font.setFamily("3ds")
|
|
font.setPointSize(9)
|
|
self.bt_1.setFont(font)
|
|
self.bt_1.setObjectName("bt_1")
|
|
self.gridLayout.addWidget(self.bt_1, 1, 0, 1, 1)
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
self.statusbar.setObjectName("statusbar")
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
|
|
self.retranslateUi(MainWindow)
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
self.bt_3.setText(_translate("MainWindow", "AI"))
|
|
self.view_3.setText(_translate("MainWindow", "TextLabel"))
|
|
self.view_4.setText(_translate("MainWindow", "TextLabel"))
|
|
self.view_1.setText(_translate("MainWindow", "TextLabel"))
|
|
self.view_2.setText(_translate("MainWindow", "TextLabel"))
|
|
self.bt_2.setText(_translate("MainWindow", "轉動"))
|
|
self.bt_1.setText(_translate("MainWindow", "啟動"))
|