Calculator Dialog Keyboard Entry?
- Eyecon
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 79
- Thank you received: 17
			
	
						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.
 			
					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.
- cmorley
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						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.
					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.
- Eyecon
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 79
- Thank you received: 17
			
	
						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.058 seconds	
