Beispiel #1
0
    def refresh(self):
        if self.counter == 1:
            self.setDefaultInterval()

        nimby.refresh()
        render.refresh()
        self.counter += 1
Beispiel #2
0
	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:
         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
Beispiel #4
0
 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
Beispiel #5
0
 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
Beispiel #6
0
 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
Beispiel #7
0
	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