随笔分类 -  PyQT

PyQt5 布局
摘要:1 import sys 2 3 from PyQt5.QtWidgets import QWidget, QLabel, QApplication, QVBoxLayout, QHBoxLayout, QPushButton, QGridLayout 4 5 6 class Example(QWidget): 7 def __init__(self): 8 ... 阅读全文

posted @ 2018-04-09 10:58 lanyue52011 阅读(290) 评论(0) 推荐(0)

PyQt5 各种菜单实现
摘要:1 # -*- coding: utf-8 -*- 2 # Created by PCITZDF on 2018/4/8 15:36. 3 # FileName: menuandtools.py 4 5 import sys 6 7 from PyQt5.QtGui import QIcon 8 from PyQt5.QtWidgets import QMainWindow,... 阅读全文

posted @ 2018-04-08 16:32 lanyue52011 阅读(3976) 评论(0) 推荐(1)

导航