qmlfrontend/Page1.qml
author Wuzzy <Wuzzy2@mail.ru>
Fri, 31 Aug 2018 21:34:33 +0200
changeset 13726 247d1bcf3c5e
parent 12854 28cb18c5e712
child 12858 0c6fb706f747
child 14143 745c73e0e644
permissions -rw-r--r--
Add 2nd optional parameter to HedgewarsScriptLoad. If false, its OK if file does not exist. Also, return true/false on success

import QtQuick 2.7

Page1Form {
  button1.onClicked: {
    console.log("Button Pressed. Entered text: " + textField1.text);
  }
}