Hello,
How can i add a QTableView in a QDockWidget?
Thx
Hello,
How can i add a QTableView in a QDockWidget?
Thx
Last edited by ogre; 1st February 2006 at 13:34.
i think you must add QTableWidget that bound with your QTableView
Just as you would add any other widget! Any more hints?Originally Posted by ogre
ok,
i've got it.
Qt Code:
dock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea); Tab_Model *delegate = new Tab_Model; lb->setModel(m); dock->setMaximumWidth( 327 ); dock->setWidget(lb); addDockWidget(Qt::RightDockWidgetArea, dock);To copy to clipboard, switch view to plain text mode
thx
Bookmarks