qmlfrontend/Page1.qml
branchqmlfrontend
changeset 12863 fe16fa088b69
parent 12861 488782d9aba9
child 12876 b544bbbd0696
equal deleted inserted replaced
12861:488782d9aba9 12863:fe16fa088b69
     1 import QtQuick 2.7
     1 import QtQuick 2.7
     2 import Hedgewars.Engine 1.0
     2 import Hedgewars.Engine 1.0
     3 
     3 
     4 Page1Form {
     4 Page1Form {
       
     5   gameButton.onClicked: {
       
     6     HWEngine.runQuickGame()
       
     7 }
     5   button1.onClicked: {
     8   button1.onClicked: {
     6     console.log("Button clicked")
       
     7     HWEngine.getPreview()
     9     HWEngine.getPreview()
     8   }
    10   }
     9 
    11 
    10   Connections {
    12   Connections {
    11       target: HWEngine
    13       target: HWEngine