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
5 Posts 3 Posters 369 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 Chaitanya.Ampolu
    #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.
    i need logic to assign values. Below mentioned is sample Screenshot.
    Screenshot (127).png

    JonBJ 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.
      i need logic to assign values. Below mentioned is sample Screenshot.
      Screenshot (127).png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Chaitanya-Ampolu
      I should be surprised if anyone can understand what you are asking from this description....

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chaitanya.Ampolu
        wrote on last edited by Chaitanya.Ampolu
        #3

        @JonB hello sir
        actually i've written my task clearly and uploaded screenshot hope you could understand my question

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chaitanya.Ampolu
          wrote on last edited by
          #4

          @jsulm Sorry sir i am new to this qt
          so can i get answer for above question

          jsulmJ 1 Reply Last reply
          0
          • C Chaitanya.Ampolu

            @jsulm Sorry sir i am new to this qt
            so can i get answer for above question

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

            @Chaitanya-Ampolu said in How to assign values from console.log to item(x,y) parameters using c++ class:

            so can i get answer for above question

            If somebody has an answer he/she will provide it. Have patience - this is user forum, people here are volunteers. Posting same question several times does not make it more likely to get an answer.

            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