115 lines
5.9 KiB
Python
115 lines
5.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'test_0826_ui_01.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.9
|
|
#
|
|
# 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(934, 746)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
|
|
self.verticalLayoutWidget.setGeometry(QtCore.QRect(9, 79, 901, 631))
|
|
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
|
|
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout_2.setContentsMargins(-1, -1, -1, 0)
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
self.scrollArea = QtWidgets.QScrollArea(self.verticalLayoutWidget)
|
|
self.scrollArea.setWidgetResizable(True)
|
|
self.scrollArea.setObjectName("scrollArea")
|
|
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
|
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 895, 308))
|
|
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
|
|
self.view1 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
|
self.view1.setGeometry(QtCore.QRect(220, 0, 511, 301))
|
|
self.view1.setText("")
|
|
self.view1.setObjectName("view1")
|
|
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
self.horizontalLayout_2.addWidget(self.scrollArea)
|
|
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setContentsMargins(-1, -1, -1, 0)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.scrollArea_2 = QtWidgets.QScrollArea(self.verticalLayoutWidget)
|
|
self.scrollArea_2.setWidgetResizable(True)
|
|
self.scrollArea_2.setObjectName("scrollArea_2")
|
|
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
|
|
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 895, 307))
|
|
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
|
|
self.view2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
|
self.view2.setGeometry(QtCore.QRect(220, 0, 511, 301))
|
|
self.view2.setText("")
|
|
self.view2.setObjectName("view2")
|
|
self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
|
|
self.horizontalLayout.addWidget(self.scrollArea_2)
|
|
self.verticalLayout_2.addLayout(self.horizontalLayout)
|
|
self.cambt = QtWidgets.QPushButton(self.centralwidget)
|
|
self.cambt.setGeometry(QtCore.QRect(60, 20, 75, 24))
|
|
icon = QtGui.QIcon()
|
|
icon.addPixmap(QtGui.QPixmap("icon/play-button.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
self.cambt.setIcon(icon)
|
|
self.cambt.setObjectName("cambt")
|
|
self.binarybt = QtWidgets.QPushButton(self.centralwidget)
|
|
self.binarybt.setGeometry(QtCore.QRect(150, 20, 75, 24))
|
|
icon1 = QtGui.QIcon()
|
|
icon1.addPixmap(QtGui.QPixmap("icon/controls.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
self.binarybt.setIcon(icon1)
|
|
self.binarybt.setObjectName("binarybt")
|
|
self.filpbt = QtWidgets.QPushButton(self.centralwidget)
|
|
self.filpbt.setGeometry(QtCore.QRect(240, 20, 75, 24))
|
|
icon2 = QtGui.QIcon()
|
|
icon2.addPixmap(QtGui.QPixmap("icon/incoming.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
self.filpbt.setIcon(icon2)
|
|
self.filpbt.setObjectName("filpbt")
|
|
self.stopbt = QtWidgets.QPushButton(self.centralwidget)
|
|
self.stopbt.setGeometry(QtCore.QRect(330, 20, 75, 24))
|
|
icon3 = QtGui.QIcon()
|
|
icon3.addPixmap(QtGui.QPixmap("icon/hold.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
self.stopbt.setIcon(icon3)
|
|
self.stopbt.setObjectName("stopbt")
|
|
self.closebt = QtWidgets.QPushButton(self.centralwidget)
|
|
self.closebt.setGeometry(QtCore.QRect(420, 20, 75, 24))
|
|
icon4 = QtGui.QIcon()
|
|
icon4.addPixmap(QtGui.QPixmap("icon/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
self.closebt.setIcon(icon4)
|
|
self.closebt.setObjectName("closebt")
|
|
self.time = QtWidgets.QLabel(self.centralwidget)
|
|
self.time.setGeometry(QtCore.QRect(590, 30, 331, 16))
|
|
self.time.setText("")
|
|
self.time.setObjectName("time")
|
|
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton.setGeometry(QtCore.QRect(554, 30, 31, 24))
|
|
self.pushButton.setText("")
|
|
icon5 = QtGui.QIcon()
|
|
icon5.addPixmap(QtGui.QPixmap("icon/clock.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
self.pushButton.setIcon(icon5)
|
|
self.pushButton.setObjectName("pushButton")
|
|
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.cambt.setText(_translate("MainWindow", "cam"))
|
|
self.binarybt.setText(_translate("MainWindow", "binary"))
|
|
self.filpbt.setText(_translate("MainWindow", "翻轉"))
|
|
self.stopbt.setText(_translate("MainWindow", "stop"))
|
|
self.closebt.setText(_translate("MainWindow", "close"))
|