[Qt-interest] keyboard event
Tom Panning
lurchvt at gmail.com
Sun Apr 19 17:29:18 CEST 2009
Sajjad,
I assume you're talking about QKeyEvent::key(), which returns the
keyboard key that was pressed. Since there's only one A key (e.g.,
there aren't separate 'A' and 'a' keys), it doesn't tell you the
difference. If you want to see what would appear in e.g., a text box,
use QKeyEvent::text().
Tom
On Sun, Apr 19, 2009 at 2:27 AM, ami guru <dosto.walla at gmail.com> wrote:
> Hello forum,
>
> Is there any way to separate the uppercase and lowercase in the keypress
> event?
>
>
> In the manual i find there is only
>
> Qt::Key_A and so forth that only represent the uppercase
>
> is there any thing like Qt::Key_a ?
>
> Thanks
>
> Sajjad
>
> _______________________________________________
> 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