(self)
| 189 | self.m_sun.setVisible(not self.m_graph.seriesList()[1].isVisible()) |
| 190 | |
| 191 | def toggleRotation(self): |
| 192 | if self.m_rotationTimer.isActive(): |
| 193 | self.m_rotationTimer.stop() |
| 194 | else: |
| 195 | self.m_rotationTimer.start(15) |
| 196 | |
| 197 | |
| 198 | if __name__ == '__main__': |