class_docstr: Font selection
class_docstr_tok: ["Font","selection"]
code: def get_font(self):
      font = self.family.currentFont()
      font.setItalic(self.italic.isChecked())
      font.setBold(self.bold.isChecked())
      font.setPointSize(int(self.size.currentText()))
      return qfont_to_tuple(font)
  
imports: from ast import literal_eval
  import copy
  import datetime
  import logging
  from numbers import Integral, Real
  from matplotlib import _api, colors
  from matplotlib.backends.qt_compat import _to_int, QtGui, QtWidgets, QtCore
label_desc: Use image node_id 2 for calling the FontLayout obj's underlying member method code with example usage: obj.get_font() and returns: qfont_to_tuple