That sounds promising. Could you please be a little more explicit, though? I don't quite follow your meaning here.
Thanks.
That sounds promising. Could you please be a little more explicit, though? I don't quite follow your meaning here.
Thanks.
Something like this:
Qt Code:
widget->setLayout(vbox); scrollarea->setWidget(widget);To copy to clipboard, switch view to plain text mode
The vbox layout contains all tables and so on and is able to count the needed size and works nicely in a scroll area.. Just test and see how perfectly it works![]()
Jimmy2775 (2nd March 2006)
Oh sweet - thanks jpn. Now this is starting to look the way I'd like.
A further question...
I want to set the height of the QTableView to be the height of its contents, but the only way I can see to do this is to loop through all the rows and add each rowHeight. Is there a more efficient way to do this?
Bookmarks