Flexible GUI

More
1 year 9 months ago #318209 by blazini36
Replied by blazini36 on topic Flexible GUI
Oh and is there any way to use a progress bar for something like spindle speed feedback? I don't see progressbar in the docs

Please Log in to join the conversation.

More
1 year 9 months ago #318211 by JT
Replied by JT on topic Flexible GUI

Is there any mechanism to use a qstackedwidget and some pushbuttons instead of the tab widget? I suppose you generally need to stuff some python in there to use the former.
 
So yes you can use a QStackedWidget now.



JT

Please Log in to join the conversation.

More
1 year 9 months ago #318212 by JT
Replied by JT on topic Flexible GUI

Can stuff like "view_dro_cb" be a pushbutton that is set to checkable rather than a checkbox?

 

You can now and no need to set it checkable in the designer the code does that for you.



JT

Please Log in to join the conversation.

More
1 year 9 months ago #318213 by JT
Replied by JT on topic Flexible GUI

Oh and is there any way to use a progress bar for something like spindle speed feedback? I don't see progressbar in the docs
 
I'll have to add a HAL QProgressBar... then you can connect it in your postgui.hal file.

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318223 by JT
Replied by JT on topic Flexible GUI

Oh and is there any way to use a progress bar for something like spindle speed feedback? I don't see progressbar in the docs
 
I've added a QProgressBar to monitor the HAL pin you give it.

gnipsel.com/linuxcnc/flexgui/hal.html#progress-bar

No time left this morning for a video...

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318259 by blazini36
Replied by blazini36 on topic Flexible GUI
Wow that was quick. I'll check that out soon

Thanks

Please Log in to join the conversation.

More
1 year 9 months ago #318275 by blazini36
Replied by blazini36 on topic Flexible GUI
I installed the new deb from releases but it doesn't seem to be adding anything new. I don't have qabstractproperties on the pushbutton whether I set it inside the stacked widget or not. Do I have to do anything special when upgrading flexgui?

Please Log in to join the conversation.

More
1 year 9 months ago #318288 by JT
Replied by JT on topic Flexible GUI

I installed the new deb from releases but it doesn't seem to be adding anything new. I don't have qabstractproperties on the pushbutton whether I set it inside the stacked widget or not. Do I have to do anything special when upgrading flexgui?
 
I'm not sure what qabstractproperties is, what are you trying to do with that?

If you download the deb from the latest release and install it with gdebi or your favorite way you have the latest.

I'll add a screenshot to the docs.

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318293 by JT
Replied by JT on topic Flexible GUI
The first video really didn't show the steps to create a stacked widget page change buttons very well.



And I added a screen shot to the docs
gnipsel.com/linuxcnc/flexgui/controls.html#stacked-widget

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318298 by JT
Replied by JT on topic Flexible GUI
As an added bonus I just added Next Previous buttons for a stacked widget so you only need two buttons for unlimited number of pages.



JT

Please Log in to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum