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

Method changeStyle

QtDataVisualization/BarsVisualization.py:203–208  ·  view source on GitHub ↗
(self, style)

Source from the content-addressed store, hash-verified

201 self.m_yearAxis.setRange(range, range)
202
203 def changeStyle(self, style):
204 comboBox = self.sender()
205 if isinstance(comboBox, QComboBox):
206 self.m_barMesh = QAbstract3DSeries.Mesh(comboBox.itemData(style))
207 self.m_primarySeries.setMesh(self.m_barMesh)
208 self.m_secondarySeries.setMesh(self.m_barMesh)
209
210 def changePresetCamera(self):
211 # 修改摄像机的预定义位置

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected