openhmitester icon indicating copy to clipboard operation
openhmitester copied to clipboard

Add global shortcut linked to PAUSE button

Open pedromateo opened this issue 8 years ago • 3 comments

Add global shortcut (e.g., Ctrl+Space) linked to PAUSE button. This will allow the tester to pause the execution of a test case.

It can be done by using something similar to QxtGlobalShortcut: http://stackoverflow.com/questions/11813823/global-hotkeys-in-a-cross-platform-qt-application http://libqxt.bitbucket.org/doc/tip/qxtglobalshortcut.html

Example usage:

QxtGlobalShortcut* shortcut = new QxtGlobalShortcut(window);
connect(shortcut, SIGNAL(activated()), window, SLOT(toggleVisibility()));
shortcut->setShortcut(QKeySequence("Ctrl+Shift+F12"));

pedromateo avatar Jul 26 '16 07:07 pedromateo

Hi Pedro

If no one working on this I would like to work on this task.

Thanks Regards

BD

bdesi avatar Aug 22 '16 14:08 bdesi

Hi,

please, be free to work on this. Right now I have not so much time for this, but I will give you help and support as far as I can.

Many thanks for your help and welcome to the project. Best.

pedromateo avatar Aug 23 '16 09:08 pedromateo

Hi

Thanks a lot. I would get back in case of queries.

Regards BD

bdesi avatar Aug 23 '16 12:08 bdesi