[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] [PyQT] AbstractProxyModel and TreeView not showing
From:       David Boddie <david () boddie ! org ! uk>
Date:       2006-08-24 10:37:28
Message-ID: 200608241237.28785.david () boddie ! org ! uk
[Download RAW message or body]

On Mon, 21 Aug 2006 13:47:01 -0700, Rich Pickler wrote:

> I have a TreeView displaying a custom AbstractItemModel through an
> AbstractProxyModel.  When using the base ItemModel directly, everything
> acts exactly as I expect it to.  However, when I use a ProxyModel, no
> matter how simple, selection no longer displays.  The selections appear
> to work properly underneath, they're just not showing up on screen.  So,
> while technically fine, I can't hand this off to any users here in its
> current state.

I recently released an application that uses a filtering proxy model:

  http://www.python.org/pypi/PyPI-Browser/

You might find that the searchmodel.py file gives you some inspiration,
though the application doesn't allow selections, so it may be of limited
use.

> Anybody used these?  Anybody had any luck with these?  I've posted a bug
> on the trolltech bug database, which led me nowhere.  Any clues?

I saw your message on qt-interest, but you didn't say what the bug number
was. Can you post some code for us to look at?

David

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic