custom button

More
26 Mar 2025 07:36 #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 or Create an account to join the conversation.

More
27 Mar 2025 19:52 #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

 
Attachments:

Please Log in or Create an account to join the conversation.

More
28 Mar 2025 02:00 - 28 Mar 2025 02:08 #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?
Last edit: 28 Mar 2025 02:08 by cmorley.

Please Log in or Create an account to join the conversation.

More
31 Mar 2025 07:04 #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 or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum