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 25 Feb 2019, 16:19 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.

    O 1 Reply Last reply 25 Feb 2019, 20:36
    0
    • H Hoemr
      25 Feb 2019, 16:19

      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.

      O Offline
      O Offline
      ODБOï
      wrote on 25 Feb 2019, 20:36 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 25 Feb 2019, 20:39 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

        1/3

        25 Feb 2019, 16:19

        • Login

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