Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyun0071 authored Apr 27, 2022
1 parent 6a01037 commit bba1ff9
Showing 1 changed file with 99 additions and 0 deletions.
99 changes: 99 additions & 0 deletions main_UI.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main_UI.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(1015, 801)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("resources/ico.jpg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Form.setWindowIcon(icon)
self.verticalLayout_2 = QtWidgets.QVBoxLayout(Form)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.pushButton = QtWidgets.QPushButton(Form)
self.pushButton.setMinimumSize(QtCore.QSize(0, 50))
font = QtGui.QFont()
font.setFamily("Adobe Devanagari")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.pushButton.setFont(font)
self.pushButton.setObjectName("pushButton")
self.horizontalLayout.addWidget(self.pushButton)
self.pushButton_3 = QtWidgets.QPushButton(Form)
self.pushButton_3.setMinimumSize(QtCore.QSize(0, 50))
font = QtGui.QFont()
font.setFamily("Adobe Devanagari")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.pushButton_3.setFont(font)
self.pushButton_3.setStyleSheet("background-color: rgb(255, 85, 0);")
self.pushButton_3.setObjectName("pushButton_3")
self.horizontalLayout.addWidget(self.pushButton_3)
self.pushButton_2 = QtWidgets.QPushButton(Form)
self.pushButton_2.setMinimumSize(QtCore.QSize(0, 50))
font = QtGui.QFont()
font.setFamily("Adobe Devanagari")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.pushButton_2.setFont(font)
self.pushButton_2.setDefault(True)
self.pushButton_2.setObjectName("pushButton_2")
self.horizontalLayout.addWidget(self.pushButton_2)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.label_pic = QtWidgets.QLabel(Form)
self.label_pic.setMinimumSize(QtCore.QSize(995, 556))
self.label_pic.setText("")
self.label_pic.setObjectName("label_pic")
self.verticalLayout.addWidget(self.label_pic)
self.progressBar = QtWidgets.QProgressBar(Form)
self.progressBar.setMinimumSize(QtCore.QSize(0, 30))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.progressBar.setFont(font)
self.progressBar.setMaximum(100)
self.progressBar.setProperty("value", 0)
self.progressBar.setAlignment(QtCore.Qt.AlignCenter)
self.progressBar.setObjectName("progressBar")
self.verticalLayout.addWidget(self.progressBar)
self.lineEdit = QtWidgets.QLineEdit(Form)
self.lineEdit.setMinimumSize(QtCore.QSize(0, 20))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.lineEdit.setFont(font)
self.lineEdit.setObjectName("lineEdit")
self.verticalLayout.addWidget(self.lineEdit)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.verticalLayout_2.setStretch(0, 1)
self.verticalLayout_2.setStretch(1, 10)

self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)

def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "AI作画(Disco Diffusion 5)小工具离线版V1.1(小工具作者微信公众号:万能搜吧)"))
self.pushButton.setText(_translate("Form", "生成"))
self.pushButton_3.setText(_translate("Form", "打赏我"))
self.pushButton_2.setText(_translate("Form", "参数配置(待完成)"))
self.progressBar.setFormat(_translate("Form", "%p%[%v/%m]"))

0 comments on commit bba1ff9

Please sign in to comment.