Qt Reference Documentation

QML Basic Type: font

A font type has the properties of a QFont. The properties are:

  • string font.family
  • bool font.bold
  • bool font.italic
  • bool font.underline
  • real font.pointSize
  • int font.pixelSize

Example:

 Text { font.family: "Helvetica"; font.pointSize: 13; font.bold: true }

See also QML Basic Types.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();