qmlfrontend/Page1.qml
author Wuzzy <Wuzzy2@mail.ru>
Sun, 11 Mar 2018 21:38:08 +0100
changeset 13165 89a6b862e692
parent 12854 28cb18c5e712
child 12858 0c6fb706f747
child 14143 745c73e0e644
permissions -rw-r--r--
Bazooka/Grenade Training: Make weapon selection detection future-proof The old check relied on hardcoded slot IDs for the weapons, which is not good.

import QtQuick 2.7

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