QLineEdit CPU usage
-
Hi
Any thoughts on QLineEdit causing higher CPU usage while user inputs?
Also when it's read only, I am seeing paintEvent is getting called repeatedly..It should happen in case of NOT read only to show the cursor right? Any thoughts on optimizing QLineEdit for CPU would help...
-
Hi and welcome to devnet,
Without more information about how you are using your QLineEdit it will be difficult to tell. Are you using a mask ? a validator ? Got it connected to a slot that does some heavy processing etc. ?
-
I find it surprising but since you are on a phone, what Qt version are you using ? What's the phone distribution ?