[PyQt] tracking current widget selection

Andreas Pakulat apaku at gmx.de
Tue Feb 19 19:04:33 GMT 2008


On 19.02.08 13:15:48, John Vines (CISD/HPCD) wrote:
> All,
>    I am using the Model/View framework with a QTreeView to display my XML 
> data.  How do I find out the currently selected item in a QTreeView widget?

Use the selection model of the view.

Andreas

-- 
You are as I am with You.


More information about the PyQt mailing list