Results 1 to 5 of 5

Thread: Will k->matches(QKeySequence::Copy) works for all the OS Platforms

  1. #1
    Join Date
    Feb 2012
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Will k->matches(QKeySequence::Copy) works for all the OS Platforms

    Hi,

    I would like to know will k->matches(QKeySequence::Copy) works for all the OS Platforms .

    I tested in windows and its working fine. Would like to know if it works in Linux or Solaris also.


    thanks,
    Prabhakar

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms

    What's "k"?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2011
    Posts
    31
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms

    You should also consider that if you are using this to represent shortcuts maybe ctrl key on windows vs cmd key on mac might play a role. Also, depends on keyboard layout issues as mentioned in the documentation.

  4. #4
    Join Date
    Feb 2012
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms

    Sorry to mention....

    here K is QKeyEvent..

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms

    Quote Originally Posted by mnrao1230 View Post
    I would like to know will k->matches(QKeySequence::Copy) works for all the OS Platforms .
    Yes, provided a particular standard shortcut is defined on a particular platform. However usually you shouldn't need to do such matching yourself as you can use QShortcut instead.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How come QAudio works on 4 of my platforms but not the 5th?
    By MattPhillips in forum Qt Programming
    Replies: 2
    Last Post: 5th September 2010, 15:49
  2. Replies: 1
    Last Post: 10th March 2010, 18:19
  3. QKeySequence not working in OSX 10.6? (Qt4.6.0beta1)
    By draculr in forum Qt Programming
    Replies: 0
    Last Post: 17th October 2009, 07:49
  4. QKeySequence widget?
    By ralsina in forum Qt Programming
    Replies: 1
    Last Post: 27th February 2009, 10:02
  5. QKeySequence - get each QKey
    By thomaspu in forum Qt Programming
    Replies: 4
    Last Post: 17th July 2008, 15:30

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.