Sandboxie/SandboxiePlus/UGlobalHotkey
DavidXanatos c132b91a0d UGlobalHotkey fix
[skip ci]
2023-07-30 14:42:18 +02:00
..
.gitignore
.qmake.stash
README.md spell fix 2022-12-07 17:32:40 +01:00
hotkeymap.h spell fix 2022-12-07 17:32:40 +01:00
uexception.cpp
uexception.h
uglobal.h
uglobalhotkey-headers.pri
uglobalhotkey-libs.pri
uglobalhotkey-sources.pri
uglobalhotkey.pri
uglobalhotkey.pro
uglobalhotkey.qc.pro 1.5.0 2022-10-12 21:13:44 +02:00
uglobalhotkey.sln
uglobalhotkey.vcxproj 1.6.2b 2022-12-21 10:53:03 +01:00
uglobalhotkey.vcxproj.filters spell fix 2022-12-07 17:32:40 +01:00
uglobalhotkeys.cpp UGlobalHotkey fix 2023-07-30 14:42:18 +02:00
uglobalhotkeys.h UGlobalHotkey fix 2023-07-30 14:42:18 +02:00
ukeysequence.cpp
ukeysequence.h

README.md

UGlobalHotkey

Description

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.