forked from shuoGG1239/Image2Text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_image2text.py
45 lines (39 loc) · 2.19 KB
/
ui_image2text.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_image2text.ui'
#
# Created: Tue Jul 10 20:15:37 2018
# by: PyQt5 UI code generator 5.4
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_image2textWidget(object):
def setupUi(self, image2textWidget):
image2textWidget.setObjectName("image2textWidget")
image2textWidget.resize(611, 330)
self.verticalLayout = QtWidgets.QVBoxLayout(image2textWidget)
self.verticalLayout.setObjectName("verticalLayout")
self.textEdit = QtWidgets.QTextEdit(image2textWidget)
self.textEdit.setObjectName("textEdit")
self.verticalLayout.addWidget(self.textEdit)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.pushButtonOpen = QtWidgets.QPushButton(image2textWidget)
self.pushButtonOpen.setMinimumSize(QtCore.QSize(31, 31))
self.pushButtonOpen.setMaximumSize(QtCore.QSize(31, 31))
self.pushButtonOpen.setObjectName("pushButtonOpen")
self.horizontalLayout.addWidget(self.pushButtonOpen)
self.pushButtonCapture = QtWidgets.QPushButton(image2textWidget)
self.pushButtonCapture.setMinimumSize(QtCore.QSize(31, 31))
self.pushButtonCapture.setMaximumSize(QtCore.QSize(31, 31))
self.pushButtonCapture.setObjectName("pushButtonCapture")
self.horizontalLayout.addWidget(self.pushButtonCapture)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.verticalLayout.addLayout(self.horizontalLayout)
self.retranslateUi(image2textWidget)
QtCore.QMetaObject.connectSlotsByName(image2textWidget)
def retranslateUi(self, image2textWidget):
_translate = QtCore.QCoreApplication.translate
image2textWidget.setWindowTitle(_translate("image2textWidget", "Form"))
self.pushButtonOpen.setText(_translate("image2textWidget", "Open"))
self.pushButtonCapture.setText(_translate("image2textWidget", "cap"))