qmlfrontend/Page1.qml
author alfadur
Mon, 12 Nov 2018 20:30:06 +0300
changeset 14220 3c36a4e66c82
parent 14175 8354b390f1a2
child 14315 21be7838a127
permissions -rw-r--r--
make engine windows checks work for 64bit builds

import QtQuick 2.7
import Hedgewars.Engine 1.0

Page1Form {
  tickButton.onClicked: {

    //    item1.tick(100)
  }
  gameButton.onClicked: {
    HWEngine.runQuickGame()
  }
  button1.onClicked: {
    HWEngine.getPreview()
  }

  Connections {
    target: HWEngine
    onPreviewImageChanged: {
      previewImage.source = "image://preview/image"
    }
    onPreviewIsRendering: {
      previewImage.source = "qrc:/res/iconTime.png"
    }
  }
}