[Qt-interest] incremental model and lazy data population

Marcos Dione mdione at grulic.org.ar
Sun Oct 4 18:58:19 CEST 2009


On Sun, Oct 04, 2009 at 06:24:46PM +0200, André Somers wrote:
> What might be happing is that the view is requesting the data to calculate
> the height and width for each item and thus the total list. If you can live
> with each item in your list having the same size, you could use
> setUniformItemSizes(true) on your view. That *might* stop the listview from
> scanning all your items.

    it doesm yes, thank you. but now some items are wider than what the
horizontal scrollbar lets me scroll to (so they end in '...'). how do I update
the 'size hint'?

-- 
(Not so) Random fortune:
10:22 < el_machi> e-squizo: es que ayer nos pasó lo impensable: estábamos por
    sopletear una pc para quitarle la tierra, en lo de un amigo, y en un 
    descuido el perro nos meó la computadora...



More information about the Qt-interest-old mailing list