author | Grigory Ustinov <grenka@altlinux.org> |
Wed, 28 Nov 2018 17:25:29 +0300 | |
changeset 14352 | 80a4283a58b1 |
parent 14319 | 00b56ec8b7df |
child 14392 | 90bd2c331703 |
permissions | -rw-r--r-- |
import QtQuick 2.7 import Hedgewars.Engine 1.0 Page1Form { tickButton.onClicked: { gameView.tick(100) } gameButton.onClicked: { var engineInstance = HWEngine.runQuickGame() gameView.engineInstance = engineInstance } button1.onClicked: { HWEngine.getPreview() } Connections { target: HWEngine onPreviewImageChanged: { previewImage.source = "image://preview/image" } onPreviewIsRendering: { previewImage.source = "qrc:/res/iconTime.png" } } }