[PyQt] tracking current widget selection

John Vines (CISD/HPCD) jvines at arl.army.mil
Tue Feb 19 20:04:24 GMT 2008


Andreas,
    OK I have a handle on it,  thanks again.

John

John Vines (CISD/HPCD) wrote:
> 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
>>
>>   
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- 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/14711b9c/jvines.vcf


More information about the PyQt mailing list