- 博客(5)
- 收藏
- 关注
原创 PyQt 实例:猜数字
import sysimport randomfrom PyQt5.QtWidgets import (QWidget,QApplication,QHBoxLayout,QVBoxLayout,QLineEdit,QPushButton,QMessageBox)class MyProject(QWidget): def __init__(self): super()...
2018-03-20 16:33:56 409
原创 Python:PyQt 组件QTabWidget
# #coding:utf-8 from PyQt5 import QtGui from PyQt5 import QtCore from PyQt5 import QtCore, QtGui from PyQt5 import uic from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.Q...
2018-03-20 11:12:30 7315
原创 Python:PyQt 系统托盘
import sys#从PyQt库导入QtWidget通用窗口类,基本的窗口集在PyQt5.QtWidgets模块里.from PyQt5.QtWidgets import QApplication, QWidget,QSystemTrayIcon,QAction,QMenu,qApp,QMessageBoxfrom PyQt5.QtGui import QIconfrom PyQt5.Q...
2018-03-19 17:29:58 7671 6
原创 Python:PyQt 时间组件
import sysfrom PyQt5.QtWidgets import QApplication,QWidget,QCalendarWidget,QHBoxLayout,QVBoxLayout,QDateTimeEdit,QLabel,QMessageBoxfrom PyQt5.QtCore import Qt,QDateTime,QDate,QTime# 日期表达式:# d - 没...
2018-03-19 16:43:12 3236
转载 Python:PyQt 表格
#-*- coding:utf-8 -*-import sysfrom PyQt5.QtCore import Qtfrom PyQt5.QtWidgets import QWidget, QApplication, QLabel, QTableWidget,QHBoxLayout, QTableWidgetItem, QComboBox,QFramefrom PyQt5.QtGui...
2018-03-16 13:46:27 7799
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人