Preview is different than thread
I am having a .qml file which contains four buttons as: first button with text: "3", second button with "5", third with the operator symbol "+" and the fourth button with "=" .... Now what i need is when i clicked on first/second button it must store the value int a variable and when clicked on "+",i had created a function that should be calling from qml to cpp file,where it should perform the addition operation. Then,the value must be passed again to the qml and display it in a textarea.when pressed the = button.
The Preview of the above post (screenshot below) is different from the actual rendering.
Thanks! Will check.