docs: def assignFont(self):
          """
          Assigns the font family and point size settings from the font picker
          widget.
          """
          font = self.currentFont()
          font.setFamily(self._fontPickerWidget.currentFamily())
          font.setPointSize(self._fontPickerWidget.pointSize())
          self.setCurrentFont(font)