The QFontMetrics class provides font metrics information.| doc.qt.io
The QWidget class is the base class of all user interface objects.| doc.qt.io
The QFont class specifies a query for a font used for drawing text.| doc.qt.io
The QPainter class performs low-level painting on widgets and other paint devices.| doc.qt.io