Closed prjemian closed 1 year ago
mainwindow.py
, create an instance of ResultsTable
(or ResultsPanel or whatever) and add it to self.runs_groupbox
.But the QGroupBox does not have a setWidget()
method. It needs a layout for this.
from resultspanel import ResultsPanel
# ...
results = ResultsPanel(self)
layout = QtWidgets.QVBoxLayout()
layout.addWidget(results)
self.runs_groupbox.setLayout(layout)
Integrate the results table UI widget into the demo application