code: def data(self, data):
          
          self._data = self._enforceDataType(data) # Enforce self._data to be a QFont
          self.familyCti.data = fontFamilyIndex(self.data, list(self.familyCti.iterConfigValues))
          self.pointSizeCti.data = self.data.pointSize()
          self.weightCti.data = fontWeightIndex(self.data, list(self.weightCti.iterConfigValues))
          self.italicCti.data = self.data.italic()
docs: Sets the font data of this item.
              Does type conversion to ensure data is always of the correct type.
  
              Also updates the children (which is the reason for this property to be overloaded.