register custom widget QTVCP
- kabdelwahid
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
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.
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.
- kabdelwahid
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
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??
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
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
24 Oct 2019 22:57 #148764
by tommylight
Replied by tommylight on topic register custom widget QTVCP
Post back what you have created, maybe someone else could find it useful, with as much details as possible.now the second question
the best way it to contribute back to linuxcnc??
Please Log in or Create an account to join the conversation.
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
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.
25 Oct 2019 00:43 #148770
by phillc54
Replied by phillc54 on topic register custom widget QTVCP
There is some good info here linuxcnc.org/docs/html/code/contributing-to-linuxcnc.htmlok 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.
Time to create page: 0.165 seconds