QML attributes in C++
-
Hello,
maybe I'm just too tired to find my mistake, but I wasn´t able to find a solution for my problem, so well...
In QML I made TextInput. If now onAccepted is called I want to integrate the TextInput´s text in C++, so for example that a file can be created that has the user input as its name.
Can anybody help?
Thanks.
-
Hi @DanBoSlice, it can be done as follows: