Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to assign values from console.log to item(x,y) parameters using c++ class

How to assign values from console.log to item(x,y) parameters using c++ class

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 149 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.
  • C Offline
    C Offline
    Chaitanya.Ampolu
    wrote on last edited by
    #1

    Create a c++ class which take values from console.log and values should assign to (x,y) position parameters in an Item.
    So if Item dragged position changes shown in console.log and have to update to (X,Y) positions in main.qml.
    can i know how to assign values . Below mentioned is sample Screenshot.
    Screenshot (127).png

    jsulmJ 1 Reply Last reply
    0
    • C Chaitanya.Ampolu

      Create a c++ class which take values from console.log and values should assign to (x,y) position parameters in an Item.
      So if Item dragged position changes shown in console.log and have to update to (X,Y) positions in main.qml.
      can i know how to assign values . Below mentioned is sample Screenshot.
      Screenshot (127).png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Chaitanya-Ampolu Please do NOT double post!
      https://forum.qt.io/topic/117600/how-to-assign-values-from-console-log-to-item-x-y-parameters-using-c-class/3

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

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