[PyQt] tracking current widget selection

John Vines (CISD/HPCD) jvines at arl.army.mil
Tue Feb 19 19:14:03 GMT 2008


Andreas,
    Thanks for the help.  I'm a bit new to the PyQt and the Model/View 
framework so let's just say I don't quite  follow :-[
    Could you provide a bit more info, thanks again.

Andreas Pakulat wrote:
> 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
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jvines.vcf
Type: text/x-vcard
Size: 366 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080219/badd8a58/jvines.vcf


More information about the PyQt mailing list