QtDragon feature request go_to_zero

More
4 years 10 months ago #230110 by ucancallmebob89
Sorry for reviving an old thread but I don't see either of the "go to zero" buttons in qtdragon_hd. Is that an option I need to enable?

Please Log in to join the conversation.

More
4 years 10 months ago #230111 by ucancallmebob89
I'd be fine writing my own OWord routine but I'm not sure how to make the buttons visible, if they exist.
From the qtdragon docs:  linuxcnc.org/docs/devel/html/gui/qtdragon.html
 

Attachment not found

Please Log in to join the conversation.

More
4 years 10 months ago #230112 by cmorley
I only added it to qtdragon.
I don't see an available and appropriate place to put them - do you?

Please Log in to join the conversation.

More
4 years 10 months ago #230113 by ucancallmebob89
Oh from context I thought they were present but hidden. Idk, assuming the jogging buttons are a 3x6 grid (including when the A axis is present), maybe put them right next to the Z+ and Z- buttons?
 

Attachment not found



I agree that's not necessarily the best place. It would be nice to have a dedicated area where we could have a handful of MDI shortcut buttons.

Maybe instead on the main view tab we could have a right-justified column with several MDI command buttons? What do you think?
 

Attachment not found

Please Log in to join the conversation.

More
4 years 10 months ago #230115 by cmorley
If you like uncompess this folder in your config folder and try it out.

you'll need to add this to INI:

[MDI_COMMAND_LIST]
MDI_COMMAND = G0 Z0;X0 Y0
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0

you can add a third MDI command for the user button.

If it doesn't create usability problems we can talk about adding it to linuxcnc.

Chris

Please Log in to join the conversation.

More
4 years 10 months ago #230116 by cmorley
Removing or Renaming the folder will return the original qtdragon_hd

Please Log in to join the conversation.

More
4 years 10 months ago #230117 by cmorley
Maybe the position in qtdragon is better - it just seemed to close in qtdragon_hd.
But I don't use it everyday so I'll take advisement.

Please Log in to join the conversation.

More
4 years 10 months ago #230147 by hottabich
For the safety of the machine, there should be no buttons (go_to) in the foreground, I think so. I suggest the following as in the screenshots.

Please Log in to join the conversation.

More
4 years 10 months ago #230164 by ucancallmebob89
I figured out how to work QT designer and add a macro panel to the side of the main tab like I suggested above. I connected each button up to the MDI_COMMAND_LIST section of the INI file. The panel doesn't get enabled until the machine is powered on and homed.

 

Attachment not found



What I'd like to do now is have a user-configurable label for each button so they can name their own macro's one at a time by just adding a line to the INI file. Something like this:
 

Attachment not found



I think this is probably possible but I haven't dug into how to tackle it yet.

Please Log in to join the conversation.

More
4 years 10 months ago #230201 by cmorley
if you use the 'check_state_text_option' of the action button, then you can set the text in the stylesheet with a command like this (modify the widget name to suit):

#usr_mdi1{
qproperty-false_state_string: "Go\\nThere";
}

Please Log in to join the conversation.

Time to create page: 0.178 seconds
Powered by Kunena Forum