John Levon wrote:

> On Tue, Jun 03, 2003 at 08:02:23PM +0000, Angus Leeming wrote:
> 
>> Question. xforms has input filters. In this case I have
>>         fl_set_input_filter(dialog_->input_lyxscale,
>>         fl_unsigned_int_filter);
>> 
>> Is there any equivalent in the Qt code?
> 
> http://doc.trolltech.com/2.3/qlineedit.html#766d94
> 
> john

Hmmm. I guess you don't use it much:

$ grep setValidator * */* */*/*
QParagraphDialog.C:     linespacingValue->setValidator(new 
QDoubleValidator(linespacingValue));

Any reason why not?

-- 
Angus

Reply via email to