Promultitouch script language

Dear Sirs, I would like to know more information about scripts on ProMultitouch. Is it a Flash based application? Or Html5? Which programming language is involved?

The language is QML, it is a JSON-like declarative language for designing user interface–centric applications. Inline JavaScript code handles the imperative aspects.

All QML types http://doc.qt.io/qt-5/qmltypes.html
An online book with examples http://qmlbook.github.io/index.html

Paste this code into User Script Editor (https://help.promultitouch.com/display/PROM/Interaction+Inspector):

// script begin
import QtQuick 2.0

Rectangle {
anchors.fill: parent
anchors.margins: 50
color: "skyblue"

Image {
width: 500
height: 500
source: "https://upload.wikimedia.org/wikipedia/commons/6/6f/Earth_Eastern_Hemisphere.jpg"
anchors.centerIn: parent
}
Text {
id: textItem
text: "Hello world"
font.pointSize: 24
}
MouseArea {
anchors.fill: parent
onPressed: textItem.text = "Mouse pressed"
onReleased: textItem.text = "Mouse released"
}
}
// script end

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.