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. Performing arithmetic opertaions on QML example
Forum Update on Monday, May 27th 2025

Performing arithmetic opertaions on QML example

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 2.5k 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.
  • J Offline
    J Offline
    jr_jags
    wrote on last edited by
    #1

    QML1 - mouse area, if click, +5
    QML2 - default number is 50

    i have this QML1 where there is a mousearea, and i want to do is when you click the mousearea, QML1 will send commands to qml2 that will add to the default number which is 50 in QML2, and the previewed answer will be 55.

    Is this possible in QML?
    Thanks

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thisisbhaskar
      wrote on last edited by
      #2

      what is QML2, is it another screen, or its just an element inside your QML1. If you have some sample code, it will always help..

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jr_jags
        wrote on last edited by
        #3

        qml2 is another screen

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thisisbhaskar
          wrote on last edited by
          #4

          I hope "this post":http://developer.qt.nokia.com/forums/viewthread/7674/ answers this also.

          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