PyQtForSoftimage: Input Method Hints working okay for QLineEdits?

20 views
Skip to first unread message

Tim Crowson

unread,
May 22, 2013, 9:19:06 PM5/22/13
to soft...@listproc.autodesk.com
I'm working with some QLineEdits, trying to set them to digits only via the Input Method Hints, but they're still accepting other characters when I run the tool in Soft. Is that not what the ImhDigitsOnly hint is supposed to do?

Using Soft 2014.

--

 

Tim Crowson
Lead CG Artist

Magnetic Dreams, Inc.
2525 Lebanon Pike, Building C. Nashville, TN 37214
Ph  615.885.6801 | Fax  615.889.4768 | www.magneticdreams.com
tim.c...@magneticdreams.com


Xavier Lapointe

unread,
May 22, 2013, 9:49:57 PM5/22/13
to soft...@listproc.autodesk.com
Or you could use the QDoubleValidator? http://pyqt.sourceforge.net/Docs/PyQt4/qdoublevalidator.html
Reply all
Reply to author
Forward
0 new messages