
CodePudding user response:
Drawing, first draw a circle, draw two wordsCodePudding user response:
QLabelUse setStyleSheet
"QLabel {background: red; color:white; Border - the radius: % 1 px; }
"% 1 use QString arg fill height/2
Then the setFont QFont set the font size what bold
SetText
Finished,
CodePudding user response:
Or the second floor, direct drawing, drawing number, beautiful, beautiful,,,