Flexible GUI
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
06 Jan 2025 11:54 #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 or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
06 Jan 2025 12:16 #318211
by JT
JT
Replied by JT on topic Flexible GUI
So yes you can use a QStackedWidget now.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.
JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
06 Jan 2025 12:52 #318212
by JT
JT
Replied by JT on topic Flexible GUI
You can now and no need to set it checkable in the designer the code does that for you.
Can stuff like "view_dro_cb" be a pushbutton that is set to checkable rather than a checkbox?
JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
06 Jan 2025 12:53 #318213
by JT
JT
Replied by JT on topic Flexible GUI
I'll have to add a HAL QProgressBar... then you can connect it in your postgui.hal file.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
JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
06 Jan 2025 14:00 #318223
by JT
gnipsel.com/linuxcnc/flexgui/hal.html#progress-bar
No time left this morning for a video...
JT
Replied by JT on topic Flexible GUI
I've added a QProgressBar to monitor the HAL pin you give it.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
gnipsel.com/linuxcnc/flexgui/hal.html#progress-bar
No time left this morning for a video...
JT
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
06 Jan 2025 20:30 #318259
by blazini36
Replied by blazini36 on topic Flexible GUI
Wow that was quick. I'll check that out soon
Thanks
Thanks
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
07 Jan 2025 00:50 #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 or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
07 Jan 2025 11:20 #318288
by JT
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
Replied by JT on topic Flexible GUI
I'm not sure what qabstractproperties is, what are you trying to do with that?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?
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 or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
07 Jan 2025 11:44 #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
And I added a screen shot to the docs
gnipsel.com/linuxcnc/flexgui/controls.html#stacked-widget
JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
07 Jan 2025 13:09 #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
JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds