[Kde-perl] setInputMask freeze up

Ole Christensen Ole.Christensen at web.de
Thu Mar 23 21:14:00 CET 2006


Roy,

I haven't used setInputMask, but I used setValidator. Works fine for me:

   validator = Qt::RegExpValidator (Qt::RegExp ("[A-Z_]+"),
				   this, "validator");
   edit -> setValidator (validator);

validator is of type Qt::attributes, edit is a Qt::LineEdit created with 
pqt-designer.

Hope that helps,
Ole.


Roy Souther wrote:
> PerlQt 3.006-1 statically linked.
> 
> When I call setInputMask the program seems to stop running. This is a 
> property of QLineEdit. I have a print "hello\n"; on the very next line 
> and it never happens.
> 
> Are there any known issues with this member function?
> 
> _Royce Souther <mailto:roy at SiliconTao.com>_
> _www.SiliconTao.com <http://www.SiliconTao.com>_
> Let Open Source help your business move beyond.
> 
> For security this message is digitally authenticated by _GnuPG 
> <http://www.gnupg.org>_.
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kde-perl mailing list
> Kde-perl at kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl


More information about the Kde-perl mailing list