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. IUtem Selection with TouchArea or Mouse Area
Forum Updated to NodeBB v4.3 + New Features

IUtem Selection with TouchArea or Mouse Area

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 958 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    Sil20
    wrote on last edited by
    #1

    Hi,
    In my QML file I have several basic qml items and custom qml items. I would like to add a mouse Area or a touch area over the all application in some specific condition to be abble to:

    • Move on item at a time
    • Update the Qml file with the new positions automaticaly (or triggered by an button)

    So I would like to use the OnmouseMove or OnTouchMove to modify the "x" and "y" of one Item. My first problem is to get the item under the mouse or the "touch".
    is there a easy way to do this?
    Maybe an example?

    My second problem is to update the QML file automaticaly, for that I have no precise idea, maybe exporting a file with all modified positions, and write a parser which update those positions

    Thanks a lot!

    1 Reply Last reply
    0

    • Login

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