Сustomization QTvcp

More
4 years 10 months ago #228801 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Yes, it works for Python 2.7. I am trying to adapt woodpecker from python 2.7 to python 3 in linuxcnc 2.9.
Attachments:

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

More
4 years 10 months ago #228818 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Yes I understand.
How are you loading the numstr component in your HAL file?
The following user(s) said Thank You: hottabich

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

More
4 years 10 months ago - 4 years 10 months ago #228821 by hottabich
Replied by hottabich on topic Сustomization QTvcp
loadusr -Wn numstr python numstr.py
net line motion.program-line => numstr.in => woodpecker.line_number
And it is necessary
loadusr -Wn numstr python3 numstr.py
Not enough now
woodpecker.line_number
I will think. Thank you very much!
Everything worked out. Thanks again!
Code:
loadusr -Wn numstr python3 numstr.py net line  => woodpecker.lcdnumber_2
Attachments:
Last edit: 4 years 10 months ago by hottabich.

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

More
4 years 10 months ago #228853 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Is it possible to apply segmentStyle (Flat) somehow for DroLabel? Thanks!

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

More
4 years 10 months ago #228859 by cmorley
Replied by cmorley on topic Сustomization QTvcp
You would need to code a new widget or code the equivalent in the handler file.
The following user(s) said Thank You: hottabich

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

More
4 years 10 months ago - 4 years 10 months ago #228944 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Alternatively, add the digital_7 (mono) font and add it to droLabel. Good, and as it is, a matter of taste.
Attachments:
Last edit: 4 years 10 months ago by hottabich.

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

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