1 Star 0 Fork 0

吴栋/Image-Downloader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ui_about.py 5.61 KB
一键复制 编辑 原始数据 按行查看 历史
Yabin Zheng 提交于 2017-04-18 10:38 . Upgrade to PyQt5
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\about.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog_about(object):
def setupUi(self, Dialog_about):
Dialog_about.setObjectName("Dialog_about")
Dialog_about.resize(600, 200)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Dialog_about.sizePolicy().hasHeightForWidth())
Dialog_about.setSizePolicy(sizePolicy)
self.gridLayout = QtWidgets.QGridLayout(Dialog_about)
self.gridLayout.setObjectName("gridLayout")
spacerItem = QtWidgets.QSpacerItem(20, 43, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem, 0, 1, 1, 1)
self.label = QtWidgets.QLabel(Dialog_about)
font = QtGui.QFont()
font.setPointSize(10)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 1, 1, 1, 1)
self.lineEdit = QtWidgets.QLineEdit(Dialog_about)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
self.lineEdit.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(10)
self.lineEdit.setFont(font)
self.lineEdit.setFocusPolicy(QtCore.Qt.NoFocus)
self.lineEdit.setCursorPosition(0)
self.lineEdit.setReadOnly(True)
self.lineEdit.setObjectName("lineEdit")
self.gridLayout.addWidget(self.lineEdit, 1, 2, 1, 1)
spacerItem1 = QtWidgets.QSpacerItem(34, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1, 2, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(Dialog_about)
font = QtGui.QFont()
font.setPointSize(10)
self.label_3.setFont(font)
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 2, 1, 1, 1)
self.lineEdit_2 = QtWidgets.QLineEdit(Dialog_about)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_2.sizePolicy().hasHeightForWidth())
self.lineEdit_2.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(10)
self.lineEdit_2.setFont(font)
self.lineEdit_2.setFocusPolicy(QtCore.Qt.NoFocus)
self.lineEdit_2.setCursorPosition(0)
self.lineEdit_2.setReadOnly(True)
self.lineEdit_2.setObjectName("lineEdit_2")
self.gridLayout.addWidget(self.lineEdit_2, 2, 2, 1, 1)
spacerItem2 = QtWidgets.QSpacerItem(34, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem2, 2, 3, 1, 1)
self.label_5 = QtWidgets.QLabel(Dialog_about)
font = QtGui.QFont()
font.setPointSize(10)
self.label_5.setFont(font)
self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 3, 1, 1, 1)
self.lineEdit_3 = QtWidgets.QLineEdit(Dialog_about)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_3.sizePolicy().hasHeightForWidth())
self.lineEdit_3.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(10)
self.lineEdit_3.setFont(font)
self.lineEdit_3.setFocusPolicy(QtCore.Qt.NoFocus)
self.lineEdit_3.setCursorPosition(0)
self.lineEdit_3.setReadOnly(True)
self.lineEdit_3.setObjectName("lineEdit_3")
self.gridLayout.addWidget(self.lineEdit_3, 3, 2, 1, 1)
spacerItem3 = QtWidgets.QSpacerItem(20, 42, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem3, 4, 1, 1, 1)
self.gridLayout.setColumnStretch(0, 1)
self.gridLayout.setColumnStretch(1, 2)
self.gridLayout.setColumnStretch(2, 11)
self.gridLayout.setColumnStretch(3, 1)
self.retranslateUi(Dialog_about)
QtCore.QMetaObject.connectSlotsByName(Dialog_about)
def retranslateUi(self, Dialog_about):
_translate = QtCore.QCoreApplication.translate
Dialog_about.setWindowTitle(_translate("Dialog_about", "Dialog"))
self.label.setText(_translate("Dialog_about", "Author:"))
self.lineEdit.setText(_translate("Dialog_about", "Yabin Zheng"))
self.label_3.setText(_translate("Dialog_about", "Email:"))
self.lineEdit_2.setText(_translate("Dialog_about", "sczhengyabin@hotmail.com"))
self.label_5.setText(_translate("Dialog_about", "Project Home:"))
self.lineEdit_3.setText(_translate("Dialog_about", "https://github.com/sczhengyabin/Google-Image-Downloader"))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Riser_Wu/Image-Downloader.git
git@gitee.com:Riser_Wu/Image-Downloader.git
Riser_Wu
Image-Downloader
Image-Downloader
master

搜索帮助