[Qt-interest] How add a QTreeView widget to a QTabBar?
Ed Sutton
edsutton at gmail.com
Mon Jul 27 23:38:15 CEST 2009
How do I add a QTreeView to a tab on a QTabBar ?
modelGoodDevices = new DomModel(QDomDocument(), this);
qtabBar = new QTabBar(this);
viewGoodDevices = new QTreeView(this);
qtabBar->addTab("Good Devices");
qtabBar->addTab("Failed Devices");
// How do I add viewGoodDevices to the "Good Devices" tab?
Thanks in advance,
-Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090727/c3d977e9/attachment.html
More information about the Qt-interest-old
mailing list