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?