void QFont::setBold(bool enable) If enable is true sets the font's weight to QFont::Bold; otherwise sets the weight to QFont::Normal. For finer boldness control use setWeight(). Note: If styleName() is set, this value may be ignored, or if supported on the platform, the font artificially embolded.