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 381 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 1 Aug 2020, 07:20 last edited by Chaitanya.Ampolu 8 Mar 2020, 05:37
    #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

    J 1 Reply Last reply 1 Aug 2020, 07:22
    0
    • C Chaitanya.Ampolu
      1 Aug 2020, 07:20

      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

      J Offline
      J Offline
      JonB
      wrote on 1 Aug 2020, 07:22 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 3 Aug 2020, 05:41 last edited by Chaitanya.Ampolu 8 Mar 2020, 05:42
        #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 3 Aug 2020, 06:11 last edited by
          #4

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

          J 1 Reply Last reply 3 Aug 2020, 06:15
          0
          • C Chaitanya.Ampolu
            3 Aug 2020, 06:11

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

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 3 Aug 2020, 06:15 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

            5/5

            3 Aug 2020, 06:15

            • Login

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