Hey there! I am new to QtQuickVCP - just got working a few apps, such as
Cetus and the AndDemo.
I am trying to add a Tab to Cetus, which would present a few redundant
values, such as spindle status, speed, some halui (whose are internal to
machinekit stack) and a few custom defined pins.
I have successfully compiled Cetus and Anddemo UI. However, I still didn't
manage to get these working.
For instance, I would like to create a tab containing a LED which
represents the "motion.spindle-on" pin (The following code was patched from
the PrinterTab.qml):
Tab {
id: testingTab
title: qsTr("Testing")
active: true
ColumnLayout {
anchors.fill: parent
anchors.margins: 5
Service {
id: halrcompService
type: "halrcomp"
}
Service {
id: halrcmdService
type: "halrcmd"
}
HalRemoteComponent {
halrcmdUri: halrcmdService.uri
halrcompUri: halrcompService.uri
ready: (halrcmdService.ready && halrcompService.ready) ||
(state === HalRemoteComponent.Connected)
name: "testingui"
containerItem: testingTab
}
Label {
text: qsTr("Spindle On:")
}
HalLed {
name: "motion.spindle-on"
}
}
}
Thanks in advance for any tip!
Paulo Sherring.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.