摘要:
参考https://www.cnblogs.com/jgg54335/p/14904853.html 实例一: import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QPainter, 阅读全文
摘要:
import sys from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtGui import * class FontDialogdemo(QWidget): def __init__(self, parent 阅读全文
摘要:
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class InputdialogDemo(QWidget): def __init__(self, paren 阅读全文
摘要:
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class QMessageBoxDemo(QWidget): def __init__(self): supe 阅读全文
摘要:
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class QDialogDemo(QMainWindow): def __init__(self): supe 阅读全文
摘要:
from PyQt5.QtWidgets import QApplication, QWidget, QStackedLayout, QVBoxLayout from PyQt5.QtWidgets import QPushButton, QComboBox, QSizePolicy import 阅读全文
摘要:
import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * class spindemo(QWidget): def __init__(self, parent=None) 阅读全文
摘要:
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class QSliderDemo(QWidget): def __init__(self): super(QS 阅读全文
摘要:
PyQtGraph绘图参考 http://v3.byhy.net/tut/py/gui/pyqtgraph-1/ 阅读全文
摘要:
from PyQt5.QtWidgets import * import pyqtgraph as pg import sys class MainWindow(QWidget): def __init__(self): super().__init__() self.setWindowTitle( 阅读全文
摘要:
from PyQt5.QtWidgets import * import pyqtgraph as pg import sys class MainWindow(QWidget): def __init__(self): super().__init__() self.setWindowTitle( 阅读全文
摘要:
from PyQt5.QtWidgets import * import pyqtgraph as pg import sys class MainWindow(QWidget): def __init__(self): super().__init__() self.setWindowTitle( 阅读全文
摘要:
实例1:CPU使用率实时展示 from PyQt5 import QtWidgets,QtCore,QtGui import pyqtgraph as pg import sys import traceback import psutil class MainUi(QtWidgets.QMainW 阅读全文