nodegui-plugin-qhotkey
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

nodegui-plugin-qhotkey

NodeGui plugin which uses QHotKey for global hotkey support.

TypeScript example:

//...
import { QHotkey } from 'nodegui-plugin-qhotkey';

//...

const f1 = new QHotkey(new QKeySequence('F1'), true);
const f1.addEventListener('activated', () => {
  console.log('F1 activated!');
  label.setText('Press a F1 or F2: You pressed F1!');
});

Install via NPM:

npm install nodegui-plugin-qhotkey

For the API see src/index.ts

For a complete demo see src/demo.ts

Maintainer

Simon Edwards simon@simonzone.com

License

MIT

This software also contains parts of QHotkey. These parts are copyright 2016, Felix Barz and distributed under the 3 clause BSD license. See the LICENSE file in the QHotkey-1.5.0 directory.

Release Process (for maintainers)

  • Make sure the version in package.json is correct.
  • Tag the version with git (format: v1.2.3).
  • Push the tag to origin.
  • Wait for GitHub Action to build and release to NPM.

Readme

Keywords

none

Package Sidebar

Install

npm i nodegui-plugin-qhotkey

Weekly Downloads

7

Version

0.1.1

License

MIT

Unpacked Size

14.5 kB

Total Files

13

Last publish

Collaborators

  • sedwards2009