def refresh(self): if self.counter == 1: self.setDefaultInterval() nimby.refresh() render.refresh() self.counter += 1
def refresh(self): if self.counter > 0: keeper_refresh = 1000 * int(cgruconfig.VARS['keeper_refresh']) if self.timer.interval() != keeper_refresh: self.timer.setInterval(keeper_refresh) nimby.refresh() render.refresh() self.counter += 1
def refresh( self): if self.counter > 0: cgruconfig.Config() if self.timer.interval() != 1000 * int(cgruconfig.VARS['keeper_refresh']): self.timer.setInterval( 1000 * int(cgruconfig.VARS['keeper_refresh'])) nimby.refresh() render.refresh() self.counter += 1
def refresh(self): if self.counter > 0: cgruconfig.Config() if self.timer.interval() != 1000 * int( cgruconfig.VARS['keeper_refresh']): self.timer.setInterval(1000 * int(cgruconfig.VARS['keeper_refresh'])) nimby.refresh() render.refresh() self.counter += 1
def activated_slot(self, reason): if reason == QtWidgets.QSystemTrayIcon.Trigger: return elif reason == QtWidgets.QSystemTrayIcon.DoubleClick: render.refresh() elif reason == QtWidgets.QSystemTrayIcon.MiddleClick: return elif reason == QtWidgets.QSystemTrayIcon.Context: return elif reason == QtWidgets.QSystemTrayIcon.Unknown: return
def activated_slot(self, reason): if reason == QtGui.QSystemTrayIcon.Trigger: return elif reason == QtGui.QSystemTrayIcon.DoubleClick: render.refresh() elif reason == QtGui.QSystemTrayIcon.MiddleClick: return elif reason == QtGui.QSystemTrayIcon.Context: return elif reason == QtGui.QSystemTrayIcon.Unknown: return