Christian Chacha
Christian Chacha

Reputation: 1

QT Designer: Set Qdoublespinbox suffix

I making a Gui with Qt Designer, I'm using a double spin box and I need to append a suffix to display a unit ("miliVolts").

I'm trying to set it in the Qt creator.

enter image description here

I don't want to use the code to do it: sb->setSuffix(" km");

Please help

Upvotes: 0

Views: 797

Answers (1)

user3132457
user3132457

Reputation: 1029

You need to enter the value of suffix in the column in front of "suffix", it's editable.

Upvotes: 1

Related Questions