[Qt-interest] QML How to use Keys

Mihail Naydenov mlists at ymail.com
Fri Oct 29 17:56:25 CEST 2010


I am having trouble using Keys attached property.
I dont know how to access modifiers and key combinations.

If I press and hold shift+f and print the event it says 
count = 1
key = 16777248
text = 
count = 1
key = 70
text = F
count = 1
key = 70
text = F
count = 1
key = 70
text = F
...

It seams the repeat is just a regular F press, count is not 2 as expected, why 
is that?
The same is true for two (refular) keys pressed like 'f' and 'g', again it 
prints only a 

regular 'g' event with count 1?!?

I dont understand, is this a bug (on windows) or some limitation?

Please clarify, thanks
MihailNaydenov


      



More information about the Qt-interest-old mailing list