Can I embeded Vismach into Qtvcp ?

More
22 Jul 2024 02:02 #305827 by timaer
Hi,everyone.
     I'm developing a cnc control panel using Qtvcp,and I need to display the vismach 3d model and movement in the qtvcp UI interface,but I dont know how to make it ,does anyone help me how to make vismach 3d model and movement in qtvcp's UI interface (not popup window),thank you 

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

More
22 Jul 2024 04:33 #305829 by Aciera
The following user(s) said Thank You: timaer

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

More
22 Jul 2024 05:12 #305831 by cmorley
Have you seen the docs?
linuxcnc.org/docs/stable/html/gui/qtvcp-vismach.html

Also the sample configurations qtdragon_metric or qtdragon_inch show vismach models in the utilities tab.
The following user(s) said Thank You: timaer

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

More
22 Jul 2024 08:48 #305838 by timaer
Thanks,but what I need is using vismach in my full customized qtvcp control pannel (which is controlled by an UI file and a handler.py)

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

More
22 Jul 2024 08:49 #305839 by timaer
Thanks,but I'm using full customized qtvcp (using .ui file and handler.py),so ,not very fitable .

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

More
22 Jul 2024 13:05 #305855 by cmorley
Are you using screen_options widget in your screen?
You can use that to load panels from INI definitions.
The docs show you how to load one programically.
The following user(s) said Thank You: timaer

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

More
24 Jul 2024 01:31 #305937 by timaer
Thank you ,I've read the doc of screen_options in qtvcp widgets.I think it may be exactly what I want ,but the doc is lack of more sample code of usage ,so it's not very easy for me to use it .Not like the other qtvcp widget such as ActionButton,very easily to use.the screen_options seems to require more background knowlege ,would you show some sample use of this widget ? I'll be very appreciateful of that .

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

Moderators: cmorley
Time to create page: 0.136 seconds
Powered by Kunena Forum