[Qt-interest] How to get selected listitemindex in Qt
Rainer Wiesenfarth
Rainer.Wiesenfarth at inpho.de
Fri Apr 16 12:03:38 CEST 2010
From: Ramesh [mailto:ramesh.bs at robosoftin.com]
> Oh,,
> Got it.. but for my case, only one item can be selected at a time..
> Multiple selection is not there.. so I can use currentitem() then..
No, you can't! Even for single selection current might differ from selected.
Speaking in MS Windows terms: the current item is the one with the dotted
border, the selected one is the blue one. Using cursor keys, you can change
the current item without changing the selected item.
Best Regards / Mit freundlichen Grüßen
Rainer Wiesenfarth
--
INPHO GmbH * Smaragdweg 1 * 70174 Stuttgart * Germany
phone: +49 711 2288 10 * fax: +49 711 2288 111 * web: www.inpho.de
place of business: Stuttgart * managing director: Johannes Saile
commercial register: Stuttgart, HRB 9586
Leader in Photogrammetry and Digital Surface Modelling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6878 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100416/8da75dee/attachment.bin
More information about the Qt-interest-old
mailing list