MCPcopy Create free account
hub / github.com/Syncplay/syncplay / updateAutoPlayIcon

Method updateAutoPlayIcon

syncplay/ui/gui.py:1914–1919  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1912 self.readyPushButton.setIcon(QtGui.QPixmap(resourcespath + 'empty_checkbox.png'))
1913
1914 def updateAutoPlayIcon(self):
1915 ready = self.autoplayPushButton.isChecked()
1916 if ready:
1917 self.autoplayPushButton.setIcon(QtGui.QPixmap(resourcespath + 'tick_checkbox.png'))
1918 else:
1919 self.autoplayPushButton.setIcon(QtGui.QPixmap(resourcespath + 'empty_checkbox.png'))
1920
1921 def automaticUpdateCheck(self):
1922 currentDateTimeValue = QDateTime.currentDateTime()

Callers 3

addClientMethod · 0.95
updateAutoPlayStateMethod · 0.95
changeAutoplayStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected