Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
744 B
Referenced Files
None
Subscribers
None
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..14828a4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,22 @@
+## UGlobalHotkey
+
+### Decription
+UGlobalHotkey is an extension for Qt framework, which implements global hotkeys functionality for Windows and Linux platforms.
+
+### 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);
+});
+```
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jun 17, 9:06 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70596
Default Alt Text
(744 B)

Event Timeline