[Qt-interest] Need some help about QLineEdit

Till Oliver Knoll till.oliver.knoll at gmail.com
Mon Oct 17 10:22:03 CEST 2011



Am 17.10.2011 um 08:08 schrieb Zeljko <zeljko at holobit.net>:

> Girish Ramakrishnan wrote:
>> BTW, it looks like you just want a readOnly lineedit? ...
> 
> No, I don't wont "readonly" lineedit. I want to know when user 
> copied/pasted/cutted something in/from QLineEdit and eventually forbid such op.
> 
Just out of curiosity: I can follow you when you say you want to prevent cut/copy - but why paste? After all your line edit widget should be editable, or so I understand?

What is the concrete usage scenario, a password field of some sort?

Cheers, Oliver


More information about the Qt-interest-old mailing list