Page MenuHomePhabricator (Chris)

README.md
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

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](https://github.com/bakwc), extracted from [Pastexen](https://github.com/bakwc/Pastexen) and turned into a shared library by [falceeffect](https://github.com/falceeffect).
### Modifications in this fork:
Mostly code style changes, better Windows support and whatever else I might need for [Lightscreen](http://github.com/ckaiser/Lightscreen).
### 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.

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 13, 9:56 PM (10 h, 50 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
77260
Default Alt Text
README.md (1 KB)

Event Timeline