custom button

More
1 year 7 months ago #324945 by stone_sleeper
custom button was created by stone_sleeper
hello, i'm new to linuxcnc and i'm looking for how to add a button in the gui (qtdragon preferably) and drive an output with it. can you help me please? i didn't find any examples on the linuxcnc site and the explanations aren't clear to me.
thank you in advance.

Please Log in to join the conversation.

More
1 year 7 months ago #325097 by programador
Replied by programador on topic custom button
Hello friend
You can use Glade 3.8.6 software and edit the file responsible for the image in LinuxCNC

 

Attachment not found

Please Log in to join the conversation.

More
1 year 7 months ago #325131 by cmorley
Replied by cmorley on topic custom button
Qtdragon uses Qt so glade is not so useful, it would require QtDesigner.
There is a button to turn a laser on and off that is included in QtDragon.
The button is on the offsets tab. the pin is qtdragon.btn-laser-on

If that is not what you want there are more options, such as macro buttons.
Customizing the screen layout with extra buttons is not super hard - where would you want the button?

Please Log in to join the conversation.

More
1 year 7 months ago #325359 by stone_sleeper
Replied by stone_sleeper on topic custom button
OK, thanks. I'll give it a try. I'd like to add a button instead of macro buttons in qtdragon. thanks in advance.

Please Log in to join the conversation.

Time to create page: 0.647 seconds
Powered by Kunena Forum