[Aptitude-devel] Experimental package and package_pool implementation
Daniel Burrows
dburrows at google.com
Fri Jul 16 00:22:40 UTC 2010
On Wed, Jul 14, 2010 at 12:31 PM, Piotr Galiszewski
<piotr at galiszewski.pl> wrote:
> 2010/7/14 Daniel Burrows <dburrows at google.com>:
> It is the power of Qt models ;) Model is only asked about what should
> be displayed. Sorting and filtering is done by proxy model, which
> decides is one particular package should be displayed or not. So model
> always contains reference to all objects in view (is not entirely true
> because data could lazy loaded), and by default all packages are
> displayed. But each view will have different proxy model. And every
> proxy model decides which item will be displayed. My sample code from
> later patch:
Ok, I have a point of curiosity here. How is progress indicated when
the view is being filtered by a proxy model? Can we register to get a
progress bar, or does the view just lock up until the search completes?
Daniel
More information about the Aptitude-devel
mailing list