Inital commit of the Komplex Hub
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import QtQuick
|
||||
import QtQuick.Studio.EventSimulator
|
||||
import QtQuick.Studio.EventSystem
|
||||
|
||||
QtObject {
|
||||
id: simulator
|
||||
property bool active: true
|
||||
|
||||
property Timer __timer: Timer {
|
||||
id: timer
|
||||
interval: 100
|
||||
onTriggered: {
|
||||
EventSimulator.show()
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
EventSystem.init(Qt.resolvedUrl("EventListModel.qml"))
|
||||
if (simulator.active)
|
||||
timer.start()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user