register custom widget QTVCP

More
24 Oct 2019 19:39 #148735 by kabdelwahid
register custom widget QTVCP was created by kabdelwahid
May I ask if someone created a custom widget how do i add it in QT Designer.

I already tryed
We must register our custom widget for Designer to use them.
Here is a typical samples
they would need to be added to qtvcp/plugins/
Then qtvcp/plugins/qtvcp_plugin.py would need to be adjusted
to import them.
but somehow i just get No module named ..._plugin

And the best way it to contribute back to linuxcnc.

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

More
24 Oct 2019 20:10 #148739 by kabdelwahid
Replied by kabdelwahid on topic register custom widget QTVCP
ok first part i resolved
now the second question
the best way it to contribute back to linuxcnc??

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
24 Oct 2019 22:57 #148764 by tommylight
Replied by tommylight on topic register custom widget QTVCP

now the second question
the best way it to contribute back to linuxcnc??

Post back what you have created, maybe someone else could find it useful, with as much details as possible.

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

More
25 Oct 2019 00:32 #148769 by cmorley
Replied by cmorley on topic register custom widget QTVCP
You could post the code here if you like - i'll look at it.
Usually one creates a git clone of linuxcnc, modifies it then sets a 'pull request' on linuxcnc's github.

Chris M

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

More
25 Oct 2019 00:43 #148770 by phillc54
Replied by phillc54 on topic register custom widget QTVCP

ok first part i resolved
now the second question
the best way it to contribute back to linuxcnc??

There is some good info here linuxcnc.org/docs/html/code/contributing-to-linuxcnc.html

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

Time to create page: 0.073 seconds
Powered by Kunena Forum