Esempio n. 1
0
 def showEvent(self, QShowEvent):
     QtGui.QDialog.showEvent(self, QShowEvent)
     versionDiff = checkUpdate()
     if versionDiff > 0:
         self.uiNewVersionLink.setVisible(True)
     if versionDiff > 1:
         self.uiLoginBtn.setVisible(False)
         self.uiRegisterLink.setVisible(False)
Esempio n. 2
0
 def showEvent(self, QShowEvent):
     QtWidgets.QDialog.showEvent(self, QShowEvent)
     versionDiff = checkUpdate()
     if versionDiff > 0:
         self.uiNewVersionLink.setVisible(True)
     if versionDiff > 1:
         self.uiLoginBtn.setVisible(False)
         self.uiRegisterLink.setVisible(False)
Esempio n. 3
0
 def showEvent(self, QShowEvent):
     QtGui.QDialog.showEvent(self, QShowEvent)
     if checkUpdate():
         self.uiNewVersionLink.setVisible(True)
     if Settings.value(Settings.AUTOLOGIN):
         self.login()
Esempio n. 4
0
 def showEvent(self, QShowEvent):
     QtGui.QDialog.showEvent(self, QShowEvent)
     if checkUpdate():
         self.uiNewVersionLink.setVisible(True)
     if Settings.value(Settings.AUTOLOGIN):
         self.login()
Esempio n. 5
0
 def showEvent(self, QShowEvent):
     QtGui.QDialog.showEvent(self, QShowEvent)
     if checkUpdate():
         self.uiNewVersionLink.setVisible(True)