TypeError("'PySide6.QtWidgets.QBoxLayout.addWidget' called with wrong argument types:\n PySide6.QtWidgets.QBoxLayout.addWidget(BacktesterChart)\nSupported signatures:\n PySide6.QtWidgets.QBoxLayout.addWidget(PySide6.QtWidgets.QWidget, int = 0, PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment))")
self.chart: BacktesterChart = BacktesterChart() //pg.GraphicsLayoutWidget chart: QtWidgets.QVBoxLayout = QtWidgets.QVBoxLayout() chart.addWidget(self.chart)
TypeError("'PySide6.QtWidgets.QBoxLayout.addWidget' called with wrong argument types:\n PySide6.QtWidgets.QBoxLayout.addWidget(BacktesterChart)\nSupported signatures:\n PySide6.QtWidgets.QBoxLayout.addWidget(PySide6.QtWidgets.QWidget, int = 0, PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment))")