Flexible GUI

More
2 years 7 months ago #295040 by JT
Replied by JT on topic Flexible GUI
I spent the last week trying to add custom widgets to Qt Designer only to find out that Qt6 Designer is somewhat broken and you can't combine Qt5 and Qt6 so I gave up on that idea.

So I came up with an even easier way to set the precision of number labels like the DRO labels this morning and I'm really pleased with the result.



Going to take a few days to clean up all the status label code then I'll work on the menu actions.

JT
The following user(s) said Thank You: tommylight, Clive S, blazini36, MennilTossFlykune, rdtsc

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

More
2 years 7 months ago #295090 by blazini36
Replied by blazini36 on topic Flexible GUI

I spent the last week trying to add custom widgets to Qt Designer only to find out that Qt6 Designer is somewhat broken and you can't combine Qt5 and Qt6 so I gave up on that idea.

So I came up with an even easier way to set the precision of number labels like the DRO labels this morning and I'm really pleased with the result.



Going to take a few days to clean up all the status label code then I'll work on the menu actions.

JT
 
Have you tried QTcreator? QTVCP mentions using designer but I had some odd results with designer. Creator seems to work better but for whatever reason QTVCP widgets don't show up in creator and I'm not sure how to configure it to do so. The UI I worked on with Creator didn't use QTVCP anyway so it didn't matter....just mentioning it.

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

More
2 years 7 months ago #295095 by JT
Replied by JT on topic Flexible GUI
Qt Creator is for C++ and Qt Designer is for python.

JT

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

More
2 years 7 months ago #295108 by blazini36
Replied by blazini36 on topic Flexible GUI
Ah OK. I've never played with the code portion myself, I just noticed that creator seems to do a better job loading UI files.

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

More
2 years 7 months ago #295206 by blazini36
Replied by blazini36 on topic Flexible GUI
Probably a stupid question but would it be possible to embed another program window in this UI?

I've got another project on hold I plan on getting back to at some point.
forum.linuxcnc.org/pnp/48799-openpnp-wit...-linuxcncrsh?start=0

It's a PnP machine that runs both LinuxCNC and OpenPnP. Iforce2d did some work to adapt linuxcncrsh to communicate with OpenPnP over TCP. When I was messing with it, it was kind of a pain to switch windows if I needed to do something on the Axis GUI.

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

More
2 years 7 months ago #295326 by JT
Replied by JT on topic Flexible GUI
With python you can run programs, not sure about embedding a program.

JT

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

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