摘要:
import os import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import * class W 阅读全文
摘要:
""" 加载本地web页面 """ import os import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidget 阅读全文
摘要:
""" 用web浏览器控件QWebEngineView显示网页 PyQT5和Web交互技术 使用python和web混合开发 Python + JavaScript + HTML5 + CSS """ import sys from PyQt5.QtCore import * from PyQt5. 阅读全文
摘要:
""" 动态显示当前时间 QTimer QThread """ from PyQt5.QtWidgets import QWidget, QMessageBox, QVBoxLayout, QPushButton, QLCDNumber, QApplication, QListWidget, QGr 阅读全文
摘要:
""" 动态显示当前时间 QTimer QThread """ from PyQt5.QtWidgets import QWidget, QPushButton, QApplication, QListWidget, QGridLayout, QLabel from PyQt5.QtCore imp 阅读全文
摘要:
QStackWidget堆栈窗口 from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * import sys class stackwidgetDemo(QTabWidget): def 阅读全文
摘要:
参考:https://www.cnblogs.com/Yanjy-OnlyOne/p/12302955.html 阅读全文
摘要:
import os, sys, re from PyQt5.QtWidgets import * from PyQt5.QtCore import Qt from PyQt5.QtGui import QBrush ''' void currentCellChanged(int currentRow 阅读全文
摘要:
实例1 import sys from PyQt5.QtCore import Qt from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QMainWindow, QMessageBox, QApplication, QWidget, 阅读全文
摘要:
实例1: from PyQt5.QtWidgets import QMessageBox, QListView, QStatusBar, QMenuBar, QMenu, QAction, QLineEdit, QStyle, QFormLayout, QVBoxLayout,QWidget,QAp 阅读全文
摘要:
二维表 数据源 需要创建QTableView实例和一个数据源Model,然后将两者关联 MVC: Model + Viewer + Controller MVC的目的是将后端的数据和前端页面的耦合度降低 import sys from PyQt5 import QtPrintSupport, QtG 阅读全文
摘要:
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5 import QtPrintSupport, QtGui from PyQt5.QtPri 阅读全文