GithubHelp home page GithubHelp logo

qt-widgets / qpointergrabber Goto Github PK

View Code? Open in Web Editor NEW

This project forked from farmovit/qpointergrabber

0.0 0.0 0.0 70 KB

A simple library that allows to grab(clip) a mouse pointer by a QWidget.

License: MIT License

CMake 8.96% C++ 90.69% C 0.35%

qpointergrabber's Introduction

QPointerGrabber

Status GitHub Issues GitHub Pull Requests License Build status


A simple library that allows to grab(clip) a mouse pointer by a QWidget.

About

In my projects I often need to grab a mouse pointer by some Window in a cross platform manner. I spend some time to get it on Linux and realized that it might be helpful for other peoples. Please, take a look on a demo:

๐Ÿ Getting Started

You can simply clone this project and build it for your needs.

Prerequisites

What things you need to install the software and how to install them. All you need is

Windows/Linux OS
CMake >= 3.5
Compiler with C++17 support
Qt5.X

Build

mkdir build
cd build
cmake ..
make -j N

๐ŸŽˆ Usage

Please see the test to get how it can be used.

TODO


  • Add CI for Windows.
  • Add CI for Linux.
  • Add MAC OS Support.
  • Create a packages for various systems.
  • Extend library for QWindow.
  • Extend library for window id only, i.e. without Qt Widget/Window.

qpointergrabber's People

Contributors

farmovit 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.