You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Monday, October 11th 2010, 2:30pm

[Input Widgets] Disabling the automatic requests for software input panel

Hi all,

how can I disable the automatic requests for an input panel in an input widget (e.g. QLineEdit)?

I am not asking how to disable them for the a type (e.g. for QLineEdit) but how to disable it for a given object (e.g. myQLineEdit).

Thanking you




  • "Sanni" is female

Posts: 2

Location: Germany

  • Send private message


Monday, October 11th 2010, 2:55pm

Hi, I'm not sure what you you want, but how about this:
you can make it readonly (setReadOnly(bool)).


Tuesday, October 12th 2010, 8:25am


thanks for your reply.

That is exactly what I want.. Making them readonly solved the problem and was my first solution. But then I the read-only line edits did not accept keypress events so I made them "writable" again...



Tuesday, October 12th 2010, 10:03am

What exactly are you trying to achieve? Maybe make the object readonly then once you click/dbl/middle on it it becomes editable then once editingFinished() it becomes readonly again?