qmlfrontend/Page1.qml
author alfadur
Wed, 07 Nov 2018 22:58:54 +0300
changeset 14169 1749961647b9
parent 14159 8354b390f1a2
child 14299 21be7838a127
permissions -rw-r--r--
fix texturing and add a theme loading option to land_dump

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"
    }
  }
}