Calculator Dialog Keyboard Entry?

More
11 Aug 2022 10:21 #249499 by Eyecon
Calculator Dialog Keyboard Entry? was created by Eyecon
Hello,
Is there an easy way to get the calculator dialog to accept direct keyboard entry in addition to clicks/touchscreen events? I ended up disabling the dialog from the ui file but I sort of like it but I don't want to keep using the mouse.
 

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

More
11 Aug 2022 15:24 #249525 by cmorley
Replied by cmorley on topic Calculator Dialog Keyboard Entry?
find the calculator.py file (linuxcnc/lib/python/qtvcp/widgets/)

change line from true to false:
self.display.setReadOnly(False)

I don't see a problem leaving it like that. Please confirm and I'l make it permanent.

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

More
11 Aug 2022 17:18 #249538 by Eyecon
Replied by Eyecon on topic Calculator Dialog Keyboard Entry?
Thanks Chris! confirmed, it works perfectly.

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

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