聪慧洋葱

文章
5
资源
0
加入时间
3年1月29天

pyqt5表格内添加控件

一、创建一个表格from PyQt5.QtWidgets import *from PyQt5.QtGui import *import sysclass Example(QWidget): def __init__(self): super().__init__() hhbox = QHBoxLayout() #横向布局 tableWidget = QTableWidget(