Pyqt5, 在子窗口子控件中绘图
在QtWidgets中进行1、qt窗口代码from PyQt5 import QtCore, QtGui, QtWidgetsclass Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(401, 318) self.stackedWidget = QtWidgets.QStackedWidget(Form)