[Qt-interest] What to use for Hex integer input?

Arnold Krille arnold at arnoldarts.de
Tue Dec 23 21:04:45 CET 2008


On Tuesday 23 December 2008 20:06:05 Neal Becker wrote:
> I've tried KIntNumInput and KIntSpinBox - neither seems to work correctly. 
> Attempting to enter hex digits from the keyboard produces strange results
> (although the spin box seems to work OK).
> If I stick with just qt, I guess the choice is QLineEdit with my own regex
> validator?

I went that road a year ago when I needed a hex-input. Its not that hard.

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081223/0edd0978/attachment.bin 


More information about the Qt-interest-old mailing list