Qt-interest Archive, July 2007
Signal for item clicked on QListWidget using keyboard
Message 1 in thread
Hi All,
I have a QListWidget that contains list of file names, when I click on
any item it has to display on a line edit,
I am able to display on line edit when I click using mouse, I am using
signal itemClicked() of QListWidget for this,
Now if I use keyboards up arrow/down arrow on the list widget, item is
getting highlighted but its not displaying on line edit, which signal
can be used, I tried by using all the signals of QListWidget.
Regards
Naveen
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Message 2 in thread
Try using the *itemSelecitonChanged* signal instead.
naveen.kmrvm@xxxxxxxxx wrote:
>
> Hi All,
>
>
>
> I have a QListWidget that contains list of file names, when I click on
> any item it has to display on a line edit,
>
> I am able to display on line edit when I click using mouse, I am using
> signal itemClicked() of QListWidget for this,
>
> Now if I use keyboards up arrow/down arrow on the list widget, item
> is getting highlighted but its not displaying on line edit, which
> signal can be used, I tried by using all the signals of QListWidget.
>
>
>
> Regards
>
> Naveen
>
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> www.wipro.com
>
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.
Message 3 in thread
Sorry for the mispelling - I meant *itemSelectionChanged*
Susan Macchia wrote:
> Try using the *itemSelecitonChanged* signal instead.
>
> naveen.kmrvm@xxxxxxxxx wrote:
>>
>> Hi All,
>>
>>
>>
>> I have a QListWidget that contains list of file names, when I click
>> on any item it has to display on a line edit,
>>
>> I am able to display on line edit when I click using mouse, I am
>> using signal itemClicked() of QListWidget for this,
>>
>> Now if I use keyboards up arrow/down arrow on the list widget, item
>> is getting highlighted but its not displaying on line edit, which
>> signal can be used, I tried by using all the signals of QListWidget.
>>
>>
>>
>> Regards
>>
>> Naveen
>>
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of
>> viruses. The company accepts no liability for any damage caused by
>> any virus transmitted by this email.
>>
>> www.wipro.com
>>
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.