QT tag shows 16 radix.
can

It is possible to display numbers in hexadecimal or decimal in Qtlabel.

ui-& gt; Label _ 6-> setext (qstring:: number (table _ test [0]) is used to convert hexadecimal numbers into decimal numbers, and serial data sent by single chip microcomputer can be directly displayed on the label.

QLabel is a label component in Qt development, which provides text or graphic display, but does not provide user interaction.

There are the following labels:

(1) plain text, use setText () to set a QString.

(2) The setText () used by rich text sets a rich text QString.

(3) Image, using setPixmap to set the image.

(4) Animation: set an animation with setMovie ().

(5) Numbers, set int/double with setNum (), and convert them into plaintext.