[Qt-interest] Need some help about QLineEdit
Zeljko
zeljko at holobit.net
Mon Oct 17 10:26:22 CEST 2011
Till Oliver Knoll wrote:
>
>
> 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?
paste() can be validated and it's not problem ... for paste() I need validation.
Critical ops are copy() and cut().
>
> What is the concrete usage scenario, a password field of some sort?
>
> Cheers, Oliver
More information about the Qt-interest-old
mailing list