Giter Club home page Giter Club logo

nodegui-plugin-qhotkey's Introduction

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 [email protected]

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.

nodegui-plugin-qhotkey's People

Contributors

sedwards2009 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.