[Qt-interest] How Can I get the key tab pressed ?
Girish Ramakrishnan
girish at forwardbias.in
Sat Oct 24 17:31:53 CEST 2009
Use QShortcut if you want to capture on all widget in the window. For a
single widget, you can use reimplement QWidget::event() if already have
a subclass.
Girish
Mhayk Whandson wrote:
> Hi David,
>
> Will I need to install a filter in all widgets to capture de key tab
> press ? Are you know other way to get the key tab press of all widgets
> in the window ?
>
> best regards,
>
> On Fri, Oct 23, 2009 at 12:51 PM, David Boddie <david.boddie at nokia.com> wrote:
>> Mhayk Whandson wrote:
>>
>>> I would like to do key tab pressed have the same event key enter
>>> pressed or just capture the key tab press event. Could you help me how
>>> can I do this ?
>> One way to do this is to use an event filter:
>>
>> http://doc.trolltech.com/4.5/eventsandfilters.html#event-filters
>>
>> David
>> --
>> David Boddie
>> Senior Technical Writer
>> Nokia, Qt Development Frameworks
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list