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. QML Scatter onclick event
Forum Update on Monday, May 27th 2025

QML Scatter onclick event

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 508 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.
  • H Offline
    H Offline
    Hoemr
    wrote on last edited by
    #1

    Hello,

    I am trying to modify the QML scatter Example. I would like to add an additional function when the user clicks on the items of the graph instead of just showing an item label of the x,y,z values.
    This sounds like an easy task however my experience with Qt and the language is limited.
    Could someone please show me how I can go about modifying the the onclick event when users click on the items of the graph?(which files to edit)

    Thank you very much.

    ODБOïO 1 Reply Last reply
    0
    • H Hoemr

      Hello,

      I am trying to modify the QML scatter Example. I would like to add an additional function when the user clicks on the items of the graph instead of just showing an item label of the x,y,z values.
      This sounds like an easy task however my experience with Qt and the language is limited.
      Could someone please show me how I can go about modifying the the onclick event when users click on the items of the graph?(which files to edit)

      Thank you very much.

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by ODБOï
      #2

      @Hoemr hi,
      this will show how to implement custom selection handling on the Scatter3D
      https://stuff.mit.edu/afs/athena/software/texmaker_v5.0.2/qt57/doc/qtdatavisualization/qtdatavisualization-qmlcustominput-example.html

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        A more recent version of the example linked by @LeLev : https://doc.qt.io/qt-5/qtdatavisualization-qmlcustominput-example.html

        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
        1

        • Login

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