Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HelloComponent {
- id: label
- objectName: "label"
- text: i18n.tr("Hello..")
- }
- TextArea{
- id: fooText
- objectName: "valor"
- width: 550
- height: 30
- }
- Button {
- objectName: "button"
- width: parent.width
- id: boton
- text: i18n.tr("Tap me!")
- onClicked: {
- // prints the content of fooText to the command line
- label.text=fooText.text
- console.log(fooText.text);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement