Request for adding second led to existing hal push button

More
1 year 4 months ago #330106 by Benb
Chris is it possible to add a second hal led to the existing hal push button similar to:
 

Attachment not found


Thank you

Please Log in to join the conversation.

More
1 year 4 months ago #330124 by cmorley
Not easily at the moment.
That particular button uses multiple images for each LED state, Qtvcp draws LEDs on top of the standard button drawing, adding another could easily be added to the code.
Qtvcp could use either technique.

What would control the LEDs? HAL pins ? Toggle state?

Please Log in to join the conversation.

More
1 year 4 months ago #330173 by Benb
Hi Chris,
I will use hal pins to control LEDS status. no toggle.

This push button will probably be popular with qtvcp users since it will mimic certain pathpilot buttons. It will also reduce the amount of real state on screens. I can see it used for pause/resume, jog inc/cont ...

Please Log in to join the conversation.

More
1 year 4 months ago #330187 by cmorley
Boring example - but possible:

 

Attachment not found

Please Log in to join the conversation.

More
1 year 4 months ago #330239 by Benb
Looks good and great addition to qtvcp.
And thank you for all your efforts for creating and maintaining qtvcp.

Please Log in to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum