Sandboxie/SandboxiePlus/UGlobalHotkey
DavidXanatos eae595625c 1.4.0 2022-09-29 18:28:48 +02:00
..
.gitignore 2021-07-05 13:55:11 +02:00
.qmake.stash git add --renormalize . 2021-10-17 21:05:50 +02:00
README.md 2021-07-05 13:55:11 +02:00
hotkeymap.h 2021-07-05 13:55:11 +02:00
uexception.cpp 2021-07-05 13:55:11 +02:00
uexception.h 2021-07-05 13:55:11 +02:00
uglobal.h 2021-07-05 13:55:11 +02:00
uglobalhotkey-headers.pri 2021-07-05 13:55:11 +02:00
uglobalhotkey-libs.pri 2021-07-05 13:55:11 +02:00
uglobalhotkey-sources.pri 2021-07-05 13:55:11 +02:00
uglobalhotkey.pri 2021-07-05 13:55:11 +02:00
uglobalhotkey.pro 2021-07-05 13:55:11 +02:00
uglobalhotkey.qc.pro 2021-07-05 13:55:11 +02:00
uglobalhotkey.sln git add --renormalize . 2021-10-16 17:19:51 +02:00
uglobalhotkey.vcxproj 1.4.0 2022-09-29 18:28:48 +02:00
uglobalhotkey.vcxproj.filters git add --renormalize . 2021-10-16 17:19:51 +02:00
uglobalhotkeys.cpp 2021-07-05 13:55:11 +02:00
uglobalhotkeys.h 2021-07-05 13:55:11 +02:00
ukeysequence.cpp 2021-07-05 13:55:11 +02:00
ukeysequence.h 2021-07-05 13:55:11 +02:00

README.md

UGlobalHotkey

Decription

UGlobalHotkey is an extension for Qt framework, which implements global hotkeys functionality for Windows Linux and MacOSX platforms. It is written by bakwc, extracted from Pastexen and turned into a shared library by me.

Building from source

  • You can either open project with QtCreator and press Build button
  • Or build it using terminal:
qmake  
make

Usage example

UGlobalHotkeys *hotkeyManager = new UGlobalHotkeys(); 
hotkeyManager->RegisterHotkey("Ctrl+Shift+F12");
connect(hotkeyManager, &UGlobalHotkeys::Activated, [=](size_t id)
{
    qDebug() << "Activated: " << QString::number(id);
});

License

UGlobalHotkey library is licensed as Public Domain, so you are free to do anything with it.