[PyQt] faster alternative to QHeaderView's resizeToContents?

Edwin Marshall aspidites at inbox.com
Sat May 9 19:59:14 BST 2009


Ah, so basically you call fetchMore with a value of 20, then afterwards do a fetchMore with the rest of the data? Seems like a good idea. The only thing I'd be worried about is that filtering woul be inaccurate until the model had a chance to calculate the widths for the rest of it's data. I could disable filtering until all the data is loaded, but I would much rather avoid that.

Thanks for the suggestion.

--Edwin Marshall
> -----Original Message-----
> From: pyqt-request at riverbankcomputing.com
> Sent: Sat, 9 May 2009 12:00:09 +0100
> To: pyqt at riverbankcomputing.com
> Subject: PyQt Digest, Vol 58, Issue 14
> 
> Send PyQt mailing list submissions to
> 	pyqt at riverbankcomputing.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> or, via email, send a message with subject or body 'help' to
> 	pyqt-request at riverbankcomputing.com
> 
> You can reach the person managing the list at
> 	pyqt-owner at riverbankcomputing.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyQt digest..."
> Today's Topics:
> 
>    1. Re: faster alternative to QHeaderView's resizeToContents?
>       (Erik Janssens)
> _______________________________________________
> PyQt mailing list
> PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list