Re: setInputMask freeze up
Ole Christensen <[email protected]> Thu, 23 Mar 2006 21:14:00 +0100
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected]>_
> _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
> [email protected]
> https://mail.kde.org/mailman/listinfo/kde-perl