show.py

Adrien BILLET, 11/04/2020 02:32 PM

Download (3.71 KB)

 
1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file 'show.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.14.2
6
#
7
# WARNING! All changes made in this file will be lost!
8

    
9

    
10
from PyQt5 import QtCore, QtGui, QtWidgets
11

    
12

    
13
class Ui_MainWindow(object):
14
    def setupUi(self, MainWindow):
15
        MainWindow.setObjectName("MainWindow")
16
        MainWindow.resize(785, 595)
17
        self.centralwidget = QtWidgets.QWidget(MainWindow)
18
        self.centralwidget.setObjectName("centralwidget")
19
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
20
        self.verticalLayout_2.setObjectName("verticalLayout_2")
21
        self.gridLayout_4 = QtWidgets.QGridLayout()
22
        self.gridLayout_4.setObjectName("gridLayout_4")
23
        self.gridGroupBox = QtWidgets.QGroupBox(self.centralwidget)
24
        self.gridGroupBox.setMaximumSize(QtCore.QSize(200, 16777215))
25
        self.gridGroupBox.setObjectName("gridGroupBox")
26
        self.gridLayout_3 = QtWidgets.QGridLayout(self.gridGroupBox)
27
        self.gridLayout_3.setObjectName("gridLayout_3")
28
        self.gridGroupBox1 = QtWidgets.QGroupBox(self.gridGroupBox)
29
        self.gridGroupBox1.setObjectName("gridGroupBox1")
30
        self.gridLayout = QtWidgets.QGridLayout(self.gridGroupBox1)
31
        self.gridLayout.setObjectName("gridLayout")
32
        self.select_image = QtWidgets.QPushButton(self.gridGroupBox1)
33
        self.select_image.setObjectName("select_image")
34
        self.gridLayout.addWidget(self.select_image, 0, 0, 1, 1)
35
        self.gridLayout_3.addWidget(self.gridGroupBox1, 0, 0, 1, 1)
36
        self.groupBox = QtWidgets.QGroupBox(self.gridGroupBox)
37
        self.groupBox.setObjectName("groupBox")
38
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
39
        self.verticalLayout.setObjectName("verticalLayout")
40
        self.which_camara = QtWidgets.QComboBox(self.groupBox)
41
        self.which_camara.setObjectName("which_camara")
42
        self.which_camara.addItem("")
43
        self.which_camara.addItem("")
44
        self.verticalLayout.addWidget(self.which_camara)
45
        self.select_camara = QtWidgets.QPushButton(self.groupBox)
46
        self.select_camara.setObjectName("select_camara")
47
        self.verticalLayout.addWidget(self.select_camara)
48
        self.gridLayout_3.addWidget(self.groupBox, 1, 0, 1, 1)
49
        self.gridLayout_4.addWidget(self.gridGroupBox, 0, 0, 1, 1)
50
        self.show_image = QtWidgets.QLabel(self.centralwidget)
51
        self.show_image.setFrameShape(QtWidgets.QFrame.Box)
52
        self.show_image.setText("")
53
        self.show_image.setObjectName("show_image")
54
        self.gridLayout_4.addWidget(self.show_image, 0, 1, 1, 1)
55
        self.verticalLayout_2.addLayout(self.gridLayout_4)
56
        MainWindow.setCentralWidget(self.centralwidget)
57
        self.menubar = QtWidgets.QMenuBar(MainWindow)
58
        self.menubar.setGeometry(QtCore.QRect(0, 0, 785, 26))
59
        self.menubar.setObjectName("menubar")
60
        MainWindow.setMenuBar(self.menubar)
61
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
62
        self.statusbar.setObjectName("statusbar")
63
        MainWindow.setStatusBar(self.statusbar)
64

    
65
        self.retranslateUi(MainWindow)
66
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
67

    
68
    def retranslateUi(self, MainWindow):
69
        _translate = QtCore.QCoreApplication.translate
70
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
71
        self.select_image.setText(_translate("MainWindow", "select image"))
72
        self.which_camara.setItemText(0, _translate("MainWindow", "local camera"))
73
        self.which_camara.setItemText(1, _translate("MainWindow", "external camera"))
74
        self.select_camara.setText(_translate("MainWindow", "select camera"))