Results 1 to 4 of 4

Thread: QKeyEvent - lower case vs upper case keys?

  1. #1
    Join Date
    Jan 2011
    Posts
    23
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default QKeyEvent - lower case vs upper case keys?

    Hi,

    Is there a way to distinguish between an upper case letter being pressed vs. a lower case letter? other than KeyPressevent and the KeyReleaseEvent of the Shift Button.
    Does anyone know a easier way?

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QKeyEvent - lower case vs upper case keys?


  3. The following user says thank you to Lesiok for this useful post:

    ArkKup (6th August 2012)

  4. #3
    Join Date
    Jan 2011
    Posts
    23
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QKeyEvent - lower case vs upper case keys?

    thanks! btw. anyone knows if there is some platform independent method of determining if CAPS LOCK is on ?

  5. #4
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QKeyEvent - lower case vs upper case keys?

    Take a look here.

Similar Threads

  1. how to get MouseClick Event in this case
    By yxmaomao in forum Qt Programming
    Replies: 3
    Last Post: 17th July 2008, 04:03
  2. How to debug with dbg in this case?
    By vql in forum Newbie
    Replies: 25
    Last Post: 2nd April 2007, 17:52
  3. upper case input
    By Lele in forum Qt Programming
    Replies: 1
    Last Post: 2nd October 2006, 10:44
  4. Upper case in QDateTime !!!!
    By paranoid_android in forum Qt Programming
    Replies: 4
    Last Post: 15th March 2006, 09:38

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.