Exemple #1
0
 def __init__(self):
     NsHook.__init__(self, ns.NotificationSystem.NEW_GAME)
     self.button.setEnabled(True)
     self.dialog = NewGameDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)
Exemple #2
0
 def __init__(self):
     NsHook.__init__(self, ns.NotificationSystem.USER_ONLINE)
     self.button.setEnabled(True)
     self.dialog = UserOnlineDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)
Exemple #3
0
 def __init__(self):
     NsHook.__init__(self, ns.NotificationSystem.TEAM_INVITE)
     self.button.setEnabled(False)
Exemple #4
0
 def __init__(self):
     NsHook.__init__(self, ns.NotificationSystem.USER_ONLINE)
     self.button.setEnabled(True)
     self.dialog = UserOnlineDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)