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

Method changeFontSize

QtDataVisualization/BarsVisualization.py:243–247  ·  view source on GitHub ↗
(self, fontsize)

Source from the content-addressed store, hash-verified

241 self.m_graph.activeTheme().setFont(font)
242
243 def changeFontSize(self, fontsize):
244 self.m_fontSize = fontsize
245 font = self.m_graph.activeTheme().font()
246 font.setPointSize(self.m_fontSize)
247 self.m_graph.activeTheme().setFont(font)
248
249 def shadowQualityUpdatedByVisual(self, sq):
250 self.shadowQualityChanged.emit(int(sq))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected