Results 1 to 4 of 4

Thread: How to make QAction::shortcuts case insensitive

  1. #1
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to make QAction::shortcuts case insensitive

    Hi,
    On Linux, shortcuts set for QAction objects are case sensitive, how to make them case insensitive?

    Thanks & Regards
    Jyoti

  2. #2
    Join Date
    May 2006
    Location
    Bangalore,India
    Posts
    235
    Thanks
    7
    Thanked 25 Times in 24 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: How to make QAction::shortcuts case insensitive

    set shortcut key like this:
    QAction::setShortcuts ( QKeySequence(tr("Ctrl+P, Ctrl+p")));

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to make QAction::shortcuts case insensitive

    Quote Originally Posted by jyoti kumar View Post
    On Linux, shortcuts set for QAction objects are case sensitive, how to make them case insensitive?
    Pressing shift changes the key sequence..
    J-P Nurmi

  4. #4
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to make QAction::shortcuts case insensitive

    setting multiple shortcuts is not working, Also I could not get : PRessing Shift will change the key sequence.

    Thanks & Regards
    Jyoti

Similar Threads

  1. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57
  2. case insensitive comparison.
    By munna in forum Newbie
    Replies: 1
    Last Post: 7th May 2006, 17:27

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.