Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Custom Event Handler
Forum Update on Monday, May 27th 2025

Custom Event Handler

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 341 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Larvae
    wrote on 4 Nov 2018, 01:12 last edited by
    #1

    Hi,

    I would like to know how to implement an event handler in c++ and expose it to qml. Something like MouseArea. I can't really find anything about this and I can't find the source to look at how Qt does it.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Nov 2018, 22:12 last edited by
      #2

      Hi,

      The source of the class can be found here.

      Or you can also use the Woboq code browser.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      4 Nov 2018, 01:12

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved