Giter Club home page Giter Club logo

Comments (3)

faaxm avatar faaxm commented on July 28, 2024

I haven't tested this myself yet. At first glance, there is no dedicated "QtDoubleClickEvent" that spix could send and Qt itself uses a normal QtMouseEvent for double clicks...
Generally it seems that mouse events are somewhat challenging for Spix right now (see #20) and I suspect that there might be some limits as to what spix can simulate by posting events directly into the Qt event queue, rather than going through the operating system.

If you want to experiment to see which events Qt sends for double clicks, you could use the logging event filter from spix lib/src/Utils/QtEventRecorder which you can install as a filter as outlined here https://doc.qt.io/qt-5/qobject.html#installEventFilter

from spix.

faaxm avatar faaxm commented on July 28, 2024

If you are willing to use python, have a look at the new PyAutoGUI support and example script in the RemoteCtrl example:
https://github.com/faaxm/spix/blob/master/examples/RemoteCtrl/script/autogui.py

PyAutoGUI posts events on the system level and with that it is easier to reliably simulate double clicks.

from spix.

faaxm avatar faaxm commented on July 28, 2024

Will close this issue, since this can be done with PyAutoGUI and system events now and I don't see a way to simulate a double-click purely by posting the right QEvent, which is how the non-PyAutoGUI part of Spix works.

from spix.

Related Issues (20)

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.