3 Star 1 Fork 0

luotian2020/晨博图片探索助手

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Ui_shuiyin.py 6.42 KB
一键复制 编辑 原始数据 按行查看 历史
luotian2020 提交于 2022-05-28 23:11 . shuiyin
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'F:\python project\my-pyqt\picqt\shuiyin.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_dialog(object):
def setupUi(self, dialog):
dialog.setObjectName("dialog")
dialog.resize(519, 320)
dialog.setSizeGripEnabled(True)
self.gridLayoutWidget = QtWidgets.QWidget(dialog)
self.gridLayoutWidget.setGeometry(QtCore.QRect(110, 20, 311, 83))
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.lineEdit = QtWidgets.QLineEdit(self.gridLayoutWidget)
self.lineEdit.setObjectName("lineEdit")
self.gridLayout.addWidget(self.lineEdit, 0, 2, 1, 1)
self.label_2 = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
self.label = QtWidgets.QLabel(self.gridLayoutWidget)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.pushButton = QtWidgets.QPushButton(self.gridLayoutWidget)
self.pushButton.setObjectName("pushButton")
self.gridLayout.addWidget(self.pushButton, 0, 3, 1, 1)
self.lineEdit_2 = QtWidgets.QLineEdit(self.gridLayoutWidget)
self.lineEdit_2.setObjectName("lineEdit_2")
self.gridLayout.addWidget(self.lineEdit_2, 1, 2, 1, 2)
self.label_8 = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_8.setObjectName("label_8")
self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(dialog)
self.label_3.setGeometry(QtCore.QRect(110, 240, 54, 12))
self.label_3.setText("")
self.label_3.setObjectName("label_3")
self.horizontalLayoutWidget = QtWidgets.QWidget(dialog)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(120, 240, 261, 80))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.pushButton_2 = QtWidgets.QPushButton(self.horizontalLayoutWidget)
self.pushButton_2.setObjectName("pushButton_2")
self.horizontalLayout.addWidget(self.pushButton_2)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.pushButton_3 = QtWidgets.QPushButton(self.horizontalLayoutWidget)
self.pushButton_3.setObjectName("pushButton_3")
self.horizontalLayout.addWidget(self.pushButton_3)
self.gridLayoutWidget_2 = QtWidgets.QWidget(dialog)
self.gridLayoutWidget_2.setGeometry(QtCore.QRect(110, 100, 311, 151))
self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget_2)
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
self.label_6 = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_6.setObjectName("label_6")
self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
self.lineEdit_7 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
self.lineEdit_7.setObjectName("lineEdit_7")
self.gridLayout_2.addWidget(self.lineEdit_7, 3, 4, 1, 1)
self.lineEdit_5 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
self.lineEdit_5.setObjectName("lineEdit_5")
self.gridLayout_2.addWidget(self.lineEdit_5, 3, 1, 1, 2)
self.label_9 = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_9.setObjectName("label_9")
self.gridLayout_2.addWidget(self.label_9, 3, 0, 1, 1)
self.lineEdit_4 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
self.lineEdit_4.setObjectName("lineEdit_4")
self.gridLayout_2.addWidget(self.lineEdit_4, 1, 2, 1, 3)
self.lineEdit_6 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
self.lineEdit_6.setObjectName("lineEdit_6")
self.gridLayout_2.addWidget(self.lineEdit_6, 3, 3, 1, 1)
self.label_7 = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_7.setObjectName("label_7")
self.gridLayout_2.addWidget(self.label_7, 1, 1, 1, 1)
self.lineEdit_3 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
self.lineEdit_3.setObjectName("lineEdit_3")
self.gridLayout_2.addWidget(self.lineEdit_3, 0, 2, 1, 3)
self.label_4 = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_4.setObjectName("label_4")
self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
self.label_5 = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_5.setObjectName("label_5")
self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1)
self.retranslateUi(dialog)
QtCore.QMetaObject.connectSlotsByName(dialog)
def retranslateUi(self, dialog):
_translate = QtCore.QCoreApplication.translate
dialog.setWindowTitle(_translate("dialog", "添加水印"))
dialog.setStatusTip(_translate("dialog", "添加水印操作"))
self.label_2.setText(_translate("dialog", "水印名称:"))
self.label.setText(_translate("dialog", "保存路径:"))
self.pushButton.setText(_translate("dialog", "选择文件夹"))
self.label_8.setText(_translate("dialog", "水印位置:"))
self.pushButton_2.setText(_translate("dialog", "确定"))
self.pushButton_3.setText(_translate("dialog", "取消"))
self.label_6.setText(_translate("dialog", "宽:"))
self.label_9.setText(_translate("dialog", "颜色(RGB)"))
self.label_7.setText(_translate("dialog", "100"))
self.label_4.setText(_translate("dialog", "高:"))
self.label_5.setText(_translate("dialog", "100"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
dialog = QtWidgets.QDialog()
ui = Ui_dialog()
ui.setupUi(dialog)
dialog.show()
sys.exit(app.exec_())
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/luotian2020/chenbopic.git
git@gitee.com:luotian2020/chenbopic.git
luotian2020
chenbopic
晨博图片探索助手
master

搜索帮助