- 博客(3)
- 收藏
- 关注
原创 PyQt5学习笔记(三):布局管理
例1:绝对定位 import sys from PyQt5.QtWidgets import QWidget, QLabel, QLineEdit, QApplication class Example(QWidget): def __init__(self): super().__init__() self.initUI() def i...
2019-01-11 16:10:10 378
原创 PyQt5学习笔记(二):菜单与工具栏
例1:菜单栏 # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QAction class MyWindow(QMainWindow): def __init__(self): super().__init__() sel...
2019-01-09 17:53:24 732
原创 PyQt5学习笔记(一):创建简单的窗口
例1:简单的窗口 # -*- coding: UTF-8 -*- import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QIcon if __name__ == '__main__': app = QApplication(sys.argv) w = QWi...
2019-01-08 10:53:20 1612 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人