Yes it is. And it's a QTableView, not widget...
m_pPhysEqSolver = new PhysEqSolver(1, 2, pDock);
pDock -> setWidget(m_pPhysEqSolver);
pDock -> setAllowedAreas(Qt::BottomDockWidgetArea);
addDockWidget(Qt::BottomDockWidgetArea, pDock);
pDock = new QDockWidget(tr("Output"), this);
m_pPhysEqSolver = new PhysEqSolver(1, 2, pDock);
pDock -> setWidget(m_pPhysEqSolver);
pDock -> setAllowedAreas(Qt::BottomDockWidgetArea);
addDockWidget(Qt::BottomDockWidgetArea, pDock);
To copy to clipboard, switch view to plain text mode
Q_OBJECT
public:
PhysEqSolver
(int rows
= 0,
int cols
= 1,
QWidget * = NULL);
class PhysEqSolver : public QTableView {
Q_OBJECT
public:
PhysEqSolver(int rows = 0, int cols = 1, QWidget * = NULL);
To copy to clipboard, switch view to plain text mode
Bookmarks