コード例 #1
0
ファイル: hook_useronline.py プロジェクト: Arkonen8/client
 def __init__(self):
     NsHook.__init__(self, ns.Notifications.USER_ONLINE)
     self.button.setEnabled(True)
     self.dialog = UserOnlineDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)
コード例 #2
0
 def __init__(self):
     NsHook.__init__(self, ns.Notifications.NEW_GAME)
     self.button.setEnabled(True)
     self.dialog = NewGameDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)
コード例 #3
0
 def __init__(self):
     NsHook.__init__(self, ns.Notifications.USER_ONLINE)
     self.button.setEnabled(True)
     self.dialog = UserOnlineDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)
コード例 #4
0
ファイル: hook_newgame.py プロジェクト: Arkonen8/client
 def __init__(self):
     NsHook.__init__(self, ns.Notifications.NEW_GAME)
     self.button.setEnabled(True)
     self.dialog = NewGameDialog(self, self.eventType)
     self.button.clicked.connect(self.dialog.show)
コード例 #5
0
 def __init__(self):
     NsHook.__init__(self, ns.Notifications.GAME_FULL)