QtDragon DRO decimal places

More
5 years 7 months ago #203201 by cmorley
Replied by cmorley on topic QtDragon DRO decimal places
I confirm and understand the problem - try to get to it tomorrow night.

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

More
5 years 7 months ago #203669 by cmorley
Replied by cmorley on topic QtDragon DRO decimal places
Sorry for the delay.
You can use this code to modify the tool offset template:
Code:
self.w.tooloffsetview.tablemodel.imperial_text_template = '%9.1f'

I'll be making this a more consistent function call in the future.

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

More
5 years 7 months ago #203681 by cmorley
Replied by cmorley on topic QtDragon DRO decimal places
I pushed some work, if you update and get an error from the above suggested change try this:
Code:
self.w.offset_table.setProperty('imperial_template', '%9.1f') self.w.tooloffsetview.setProperty('imperial_template', '%9.1f')

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

More
5 years 7 months ago #203719 by turbostew
Thanks Chris!!!!!!!!

That did the trick...

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

More
5 years 6 months ago #204582 by cmorley
Replied by cmorley on topic QtDragon DRO decimal places
I wonder if this is common enough to add as a settings option?

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

More
5 years 6 months ago #204632 by turbostew
Well IMHO, for a router 10th of thousandths is just annoying to see, but for a mill tenths (of a thousandths) is a must. Maybe a ultra-precision mini mill might go out one more place.

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

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