QLCDNumber and unsigned int

271 Views Asked by At

As far as I see, QLCDNumber can only display signed integers. I want to display content of processor registers, which are typically unsigned. Is there any hacking to display unsigned integers?

1

There are 1 best solutions below

1
On

QLCDNumber also accepts strings (within a limited character set). Try formatting the value as QString before passing it to QLCDNumber::display().