qmlfrontend/Page1.qml
author unc0rr
Sun, 24 Dec 2017 16:56:22 +0100
branchqmlfrontend
changeset 12859 a03f245243b0
parent 12858 0c6fb706f747
child 12861 488782d9aba9
permissions -rw-r--r--
And more refactoring...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     1
import QtQuick 2.7
12858
0c6fb706f747 More refactoring in attempt to move away from frontlib
unc0rr
parents: 12854
diff changeset
     2
import Hedgewars.Engine 1.0
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     3
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
Page1Form {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
  button1.onClicked: {
12858
0c6fb706f747 More refactoring in attempt to move away from frontlib
unc0rr
parents: 12854
diff changeset
     6
    console.log("Button clicked")
0c6fb706f747 More refactoring in attempt to move away from frontlib
unc0rr
parents: 12854
diff changeset
     7
    HWEngine.getPreview()
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     8
  }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     9
}