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. Forced update the properties of qml item

Forced update the properties of qml item

Scheduled Pinned Locked Moved QML and Qt Quick
qmlqt quickitempropertyupdateforced update
5 Posts 2 Posters 2.1k 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.
  • L Offline
    L Offline
    Lix_
    wrote on 19 Jun 2015, 16:33 last edited by
    #1

    I have created a visual keyboard, it read the text of keyboard from C++ class, using Q_INVOKABLE macro (text = keys.getKey(name, "top")), How to update text from all keys?

    P 1 Reply Last reply 20 Jun 2015, 06:49
    0
    • L Lix_
      19 Jun 2015, 16:33

      I have created a visual keyboard, it read the text of keyboard from C++ class, using Q_INVOKABLE macro (text = keys.getKey(name, "top")), How to update text from all keys?

      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 20 Jun 2015, 06:49 last edited by
      #2

      Hi @Lix_ and Welcome,
      Trying to understand the question, do you mean you want to name the keys of the virtual keyboard that you have created and that name comes from C++ side using the said method and now you want to fetch names of all the keys in the same way ?

      157

      L 1 Reply Last reply 20 Jun 2015, 09:32
      1
      • P p3c0
        20 Jun 2015, 06:49

        Hi @Lix_ and Welcome,
        Trying to understand the question, do you mean you want to name the keys of the virtual keyboard that you have created and that name comes from C++ side using the said method and now you want to fetch names of all the keys in the same way ?

        L Offline
        L Offline
        Lix_
        wrote on 20 Jun 2015, 09:32 last edited by
        #3

        Yes. If user changes the language or switches the case.

        P 1 Reply Last reply 20 Jun 2015, 10:40
        0
        • L Lix_
          20 Jun 2015, 09:32

          Yes. If user changes the language or switches the case.

          P Offline
          P Offline
          p3c0
          Moderators
          wrote on 20 Jun 2015, 10:40 last edited by
          #4

          @Lix_ In that case you should bind the text property of key item to that functions so that it gets new value when your condition changes i.e language or switch case

          157

          L 1 Reply Last reply 20 Jun 2015, 13:05
          1
          • P p3c0
            20 Jun 2015, 10:40

            @Lix_ In that case you should bind the text property of key item to that functions so that it gets new value when your condition changes i.e language or switch case

            L Offline
            L Offline
            Lix_
            wrote on 20 Jun 2015, 13:05 last edited by
            #5

            @p3c0 Thanks!

            1 Reply Last reply
            0

            1/5

            19 Jun 2015, 16:33

            • Login

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