[Qt-interest] [QtS60-feedback] how to handel key press events
Irfan Omair
irfan.omair.qt at gmail.com
Thu Mar 18 18:03:24 CET 2010
Hi,
Are you calling base class keyPressEvent() after handling your
functionality of key press
some thing like
myclass::keyPressEvent(QkeyPressEvent *e)
{
if(e->type()........)
{....}
QListWidget::keyPressEvent(e);
}
Regards,
Irfan omair
On Thu, Mar 18, 2010 at 7:42 AM, Ramesh <ramesh.bs at robosoftin.com> wrote:
> Hi..
>
>
>
> In my listview, if I do key press action events are not coming?
>
> How can I handle keypress events in Qt,
>
>
>
> I have overridden the method “*keyPressEvent*” still its not working
>
> If I do keypress first I should get which key is pressed then it should go
> to “itemclickked” or “selectionchanged”
>
>
>
> But in mine key press only not coming.. any idea how to register for it ?
>
> -----------------------------------------------
>
> Robosoft Technologies - Come home to Technology
>
> Disclaimer: This email may contain confidential material. If you were not
> an intended recipient, please notify the sender and delete all copies.
> Emails to and from our network may be logged and monitored. This email and
> its attachments are scanned for virus by our scanners and are believed to be
> safe. However, no warranty is given that this email is free of malicious
> content or virus.
>
>
> --
> List archive and information: http://trolltech.com/%(listname)s/<http://trolltech.com/%%28listname%29s/>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100318/56e59259/attachment.html
More information about the Qt-interest-old
mailing list