Skip to content

R1tschY/qxtglobalshortcut5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qxt qxtglobalshortcut qt5


Qxt qxtglobalshortcut library qt5 compatibility Tested with qt5.4 on OSX 10.9.2, linux, windows (mingw and msvc)

usage:

git clone https://github.com/ddqd/qxtglobalshortcut5.git

add in ur .pro file:

include(qxtglobalshortcut5/qxt.pri)

example code:

#include <QDebug>
#include "qxtglobalshortcut.h"
...

QxtGlobalShortcut *shortcut = new QxtGlobalShortcut(this);
shortcut->setShortcut(QKeySequence("Shift+1"));
connect(shortcut, &QxtGlobalShortcut::activated,
    [=]() {qDebug() << "shortcut activated";});

About

Qt5 port of QxtGlobalShortcut

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.2%
  • CMake 2.7%
  • QMake 1.1%