当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
0 Star 2 Fork 1

/Clock
暂停

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

搜索帮助