随笔分类 -  pyqt5

摘要:1 # -*- coding: utf-8 -*- 2 3 import sys 4 from PyQt5 import QtWidgets 5 6 import numpy as np 7 from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas 8 from matp... 阅读全文
posted @ 2018-05-08 18:45 ayew 阅读(2650) 评论(1) 推荐(0)
摘要:发现了一个非常棒的pyqt5的例子集 https://github.com/892768447/PyQt 各种各样的PyQt测试和例子 [Python3.4.4 or Python3.5][PyQt5] 1.常见例子 1.1 右下角弹出框 1.2 单实例应用 1.3 字体测试 1.4 程序重启 1. 阅读全文
posted @ 2018-01-05 17:02 ayew 阅读(18306) 评论(0) 推荐(2)
摘要:1 from PyQt5.QtWidgets import * 2 from PyQt5 import QtCore,QtWidgets 3 from PyQt5.QtGui import * 4 5 import sys 6 class A(QWidget): 7 def __init__(self): 8 super(A,self).__init_... 阅读全文
posted @ 2017-11-26 16:52 ayew 阅读(8677) 评论(4) 推荐(1)
摘要:获取框里面的内容,有一个BUG,搞了好久才搞定。 阅读全文
posted @ 2017-11-25 13:26 ayew 阅读(21008) 评论(0) 推荐(1)
摘要:# -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import * class FirstWindow(QWidget): close_signal = pyqtSignal() def __init__(self, parent=None): ... 阅读全文
posted @ 2017-11-25 13:20 ayew 阅读(8825) 评论(0) 推荐(0)
摘要:最近在学习Pyqt5做界面,找到了一个非常棒的博主的学习系列 在此记录下来: http://blog.csdn.net/zhulove86/article/category/6381941 阅读全文
posted @ 2017-11-25 10:10 ayew 阅读(589) 评论(0) 推荐(0)
摘要:转载 熟悉常用的窗口组件: 1 按钮类 QPushButton 普通按钮 QToolButton 工具按钮:通常在工具栏使用 QRadioButton 单选框 QCheckBox 复选框 QCommanLinkButton Vista风格的命令链接按钮 QDialogButtonBox 对话框按钮组 阅读全文
posted @ 2017-11-25 10:07 ayew 阅读(1658) 评论(0) 推荐(0)