user18737700
user18737700

Reputation: 1

Qt how to set QFont weight I want

For example, I want set the QFont weight 120 pixels or 1.5mm. Now, the weight has been defined by enumeration of 0~99, that's not my need. I upload two images for example: normal text

expand text

Upvotes: 0

Views: 373

Answers (1)

mzimmers
mzimmers

Reputation: 902

You want to use the pointSize property, not weight.

setPointSize

Upvotes: 0

Related Questions