[Qt-interest] QVBoxLayout with 100s of items is hanging

Sean Harmer sean.harmer at maps-technology.com
Thu Nov 26 13:00:39 CET 2009


Hi,

On Thursday 26 November 2009 11:51:55 Qt Quest wrote:
> Indeed a text edit was my first thought and implementation, however I also
>  have checkboxes etc. on every line that I have to interact with. 

Sounds like a use case for a custom model derived from QAbstractTableModel and 
then use this with a QTreeView. Also set the uniformRowHeights property to 
true to get a massive performance increase in drawing speed.

Should be quite easy to achieve.

Cheers,

Sean



More information about the Qt-interest-old mailing list