MCPcopy Create free account
hub / github.com/PyQt5/PyQt / changeFont

Method changeFont

QtDataVisualization/ScatterVisualization.py:159–162  ·  view source on GitHub ↗
(self, font)

Source from the content-addressed store, hash-verified

157 not self.m_graph.activeTheme().isLabelBackgroundEnabled())
158
159 def changeFont(self, font):
160 newFont = QFont(font)
161 newFont.setPointSizeF(self.m_fontSize)
162 self.m_graph.activeTheme().setFont(newFont)
163
164 def shadowQualityUpdatedByVisual(self, sq):
165 self.shadowQualityChanged.emit(int(sq))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected