代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'F:\zlt\python\Clock\MainDlg.ui'
#
# Created by: PyQt5 UI code generator 5.9.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainDlg(object):
def setupUi(self, MainDlg):
MainDlg.setObjectName("MainDlg")
MainDlg.resize(574, 381)
font = QtGui.QFont()
font.setFamily("宋体")
font.setPointSize(10)
MainDlg.setFont(font)
MainDlg.setSizeGripEnabled(True)
self.editInter = QtWidgets.QLineEdit(MainDlg)
self.editInter.setGeometry(QtCore.QRect(130, 48, 31, 21))
self.editInter.setText("")
self.editInter.setObjectName("editInter")
self.editMess = QtWidgets.QLineEdit(MainDlg)
self.editMess.setGeometry(QtCore.QRect(274, 48, 261, 21))
self.editMess.setText("")
self.editMess.setObjectName("editMess")
self.label = QtWidgets.QLabel(MainDlg)
self.label.setGeometry(QtCore.QRect(40, 50, 91, 16))
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(MainDlg)
self.label_2.setGeometry(QtCore.QRect(170, 50, 31, 16))
self.label_2.setObjectName("label_2")
self.label_3 = QtWidgets.QLabel(MainDlg)
self.label_3.setGeometry(QtCore.QRect(210, 50, 61, 16))
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(MainDlg)
self.label_4.setGeometry(QtCore.QRect(40, 90, 91, 16))
self.label_4.setObjectName("label_4")
self.listTodo = QtWidgets.QListWidget(MainDlg)
self.listTodo.setGeometry(QtCore.QRect(40, 110, 491, 192))
self.listTodo.setObjectName("listTodo")
self.layoutWidget = QtWidgets.QWidget(MainDlg)
self.layoutWidget.setGeometry(QtCore.QRect(90, 330, 391, 25))
self.layoutWidget.setObjectName("layoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.btnAdd = QtWidgets.QPushButton(self.layoutWidget)
self.btnAdd.setObjectName("btnAdd")
self.horizontalLayout.addWidget(self.btnAdd)
self.btnApply = QtWidgets.QPushButton(self.layoutWidget)
self.btnApply.setObjectName("btnApply")
self.horizontalLayout.addWidget(self.btnApply)
self.btnView = QtWidgets.QPushButton(self.layoutWidget)
self.btnView.setObjectName("btnView")
self.horizontalLayout.addWidget(self.btnView)
self.btnHide = QtWidgets.QPushButton(self.layoutWidget)
self.btnHide.setObjectName("btnHide")
self.horizontalLayout.addWidget(self.btnHide)
self.retranslateUi(MainDlg)
self.btnApply.clicked.connect(MainDlg.close)
QtCore.QMetaObject.connectSlotsByName(MainDlg)
def retranslateUi(self, MainDlg):
_translate = QtCore.QCoreApplication.translate
MainDlg.setWindowTitle(_translate("MainDlg", "小闹钟"))
self.label.setText(_translate("MainDlg", "循环提醒间隔:"))
self.label_2.setText(_translate("MainDlg", "分钟"))
self.label_3.setText(_translate("MainDlg", "提醒内容:"))
self.label_4.setText(_translate("MainDlg", "定时提醒条目:"))
self.btnAdd.setText(_translate("MainDlg", "添加条目"))
self.btnApply.setText(_translate("MainDlg", "应 用"))
self.btnView.setText(_translate("MainDlg", "查看计划的任务"))
self.btnHide.setText(_translate("MainDlg", "最小化窗口"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainDlg = QtWidgets.QDialog()
ui = Ui_MainDlg()
ui.setupUi(MainDlg)
MainDlg.show()
sys.exit(app.exec_())
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。