Forced update the properties of qml item
-
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? -
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 ? -
Yes. If user changes the language or switches the case.
-
@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
-
@p3c0 Thanks!