Flexible GUI

More
1 year 9 months ago - 1 year 9 months ago #318311 by blazini36
Replied by blazini36 on topic Flexible GUI
OK yeah, that's the part that was missing from the first video. Youtube embeds don't work well on my end so I missed it in the 2nd

I see some of the other controls items have dynamic properties so it might be mentioned elsewhere in the docs but I didn't see any mention of it while just progressing through.

Edit: I see it in "Step by Step" gnipsel.com/linuxcnc/flexgui/hal.html#step-by-step
Last edit: 1 year 9 months ago by blazini36.

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

More
1 year 9 months ago - 1 year 9 months ago #318318 by JT
Replied by JT on topic Flexible GUI
I just added the dynamic properties section to the docs and put links to it where dynamic properties are mentioned

gnipsel.com/linuxcnc/flexgui/property.html

JT
Last edit: 1 year 9 months ago by JT.

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

More
1 year 9 months ago #318325 by blazini36
Replied by blazini36 on topic Flexible GUI
Yeah that looks much nicer than the tabwidget when it's run....

The frames on the list and plain text editor aren't visible in the dark-touch theme. For now I'm just sticking them on frame widgets because they blend in with the background otherwise.
The following user(s) said Thank You: JT

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

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

Yeah that looks much nicer than the tabwidget when it's run....

The frames on the list and plain text editor aren't visible in the dark-touch theme. For now I'm just sticking them on frame widgets because they blend in with the background otherwise.
 
I'll look into the dark-touch theme to see what I need to fix that.

JT

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

More
1 year 9 months ago - 1 year 9 months ago #318338 by blazini36
Replied by blazini36 on topic Flexible GUI
One more question......

On the stacked widget, designer seems to save the "current index" as the default, so if you happen to be editing a page and save it, running it from LinuxCNC will always start on that page. Is there any way to create a "default index"?

I have like 3 stacked widgets on top of each other so I have to make sure I set them all to the desired first page before I save it
Last edit: 1 year 9 months ago by blazini36.

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

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

One more question......

On the stacked widget, designer seems to save the "current index" as the default, so if you happen to be editing a page and save it, running it from LinuxCNC will always start on that page. Is there any way to create a "default index"?

I have like 3 stacked widgets on top of each other so I have to make sure I set them all to the desired first page before I save it  

Yup I just make sure that all tab widgets are set to the default page. You could add some Python code to set them.

gnipsel.com/linuxcnc/flexgui/python.html

The syntax would be something like this:

Code:
parent.stacked_widget_name.setCurrentIndex(0)

JT
Last edit: 1 year 9 months ago by JT.

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

Moderators: JT
Time to create page: 0.331 seconds
Powered by Kunena Forum