加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ui_image2text.py 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
shuoGG 提交于 2018-07-10 21:55 . add
# -*- 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"))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化