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
Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms
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.
Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms
Sorry to mention....
here K is QKeyEvent..
Re: Will k->matches(QKeySequence::Copy) works for all the OS Platforms
Quote:
Originally Posted by
mnrao1230
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.