-
Notifications
You must be signed in to change notification settings - Fork 24
/
ui_MainWindow.py
89 lines (83 loc) · 4.69 KB
/
ui_MainWindow.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# 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(617, 800)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setMinimumSize(QtCore.QSize(0, 0))
self.centralWidget = QtWidgets.QWidget(MainWindow)
self.centralWidget.setObjectName("centralWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralWidget)
self.verticalLayout.setContentsMargins(11, 11, 11, 11)
self.verticalLayout.setSpacing(6)
self.verticalLayout.setObjectName("verticalLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
self.tabWidget.setSizePolicy(sizePolicy)
self.tabWidget.setStyleSheet("QTabBar::tab{height:17}")
self.tabWidget.setTabsClosable(False)
self.tabWidget.setObjectName("tabWidget")
self.verticalLayout.addWidget(self.tabWidget)
self.verticalLayout.setStretch(0, 1)
MainWindow.setCentralWidget(self.centralWidget)
self.menuBar = QtWidgets.QMenuBar(MainWindow)
self.menuBar.setGeometry(QtCore.QRect(0, 0, 617, 26))
self.menuBar.setObjectName("menuBar")
self.menuFile = QtWidgets.QMenu(self.menuBar)
self.menuFile.setObjectName("menuFile")
self.menuHelp = QtWidgets.QMenu(self.menuBar)
self.menuHelp.setObjectName("menuHelp")
self.menuOptions = QtWidgets.QMenu(self.menuBar)
self.menuOptions.setObjectName("menuOptions")
self.menuView = QtWidgets.QMenu(self.menuBar)
self.menuView.setObjectName("menuView")
MainWindow.setMenuBar(self.menuBar)
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setObjectName("actionAbout")
self.actionQuit = QtWidgets.QAction(MainWindow)
self.actionQuit.setObjectName("actionQuit")
self.actionSynchronizeStreams = QtWidgets.QAction(MainWindow)
self.actionSynchronizeStreams.setCheckable(True)
self.actionSynchronizeStreams.setObjectName("actionSynchronizeStreams")
self.actionScaleToFitFrame = QtWidgets.QAction(MainWindow)
self.actionScaleToFitFrame.setCheckable(True)
self.actionScaleToFitFrame.setObjectName("actionScaleToFitFrame")
self.actionFullScreen = QtWidgets.QAction(MainWindow)
self.actionFullScreen.setCheckable(True)
self.actionFullScreen.setObjectName("actionFullScreen")
self.menuFile.addAction(self.actionQuit)
self.menuHelp.addAction(self.actionAbout)
self.menuOptions.addAction(self.actionSynchronizeStreams)
self.menuView.addAction(self.actionFullScreen)
self.menuBar.addAction(self.menuFile.menuAction())
self.menuBar.addAction(self.menuOptions.menuAction())
self.menuBar.addAction(self.menuView.menuAction())
self.menuBar.addAction(self.menuHelp.menuAction())
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(-1)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "qt-opencv-multithreaded"))
self.menuFile.setTitle(_translate("MainWindow", "File"))
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
self.menuOptions.setTitle(_translate("MainWindow", "Options"))
self.menuView.setTitle(_translate("MainWindow", "View(&V)"))
self.actionAbout.setText(_translate("MainWindow", "About"))
self.actionQuit.setText(_translate("MainWindow", "Quit"))
self.actionSynchronizeStreams.setText(_translate("MainWindow", "Synchronize streams"))
self.actionScaleToFitFrame.setText(_translate("MainWindow", "Scale to fit frame"))
self.actionFullScreen.setText(_translate("MainWindow", "Full Screen(&F)"))