コード例 #1
0
ファイル: playfield.py プロジェクト: ospalh/kajongg-fork
 def keyPressEvent(self, event):
     """navigate in the selectorboard"""
     mod = event.modifiers()
     if mod in (Qt.NoModifier, Qt.ShiftModifier):
         if self.game and self.game.isScoringGame():
             if self.__navigateScoringGame(event):
                 return
         if self.clientDialog:
             self.clientDialog.keyPressEvent(event)
     KXmlGuiWindow.keyPressEvent(self, event)
コード例 #2
0
ファイル: playfield.py プロジェクト: ospalh/kajongg-fork
 def keyPressEvent(self, event):
     """navigate in the selectorboard"""
     mod = event.modifiers()
     if mod in (Qt.NoModifier, Qt.ShiftModifier):
         if self.game and self.game.isScoringGame():
             if self.__navigateScoringGame(event):
                 return
         if self.clientDialog:
             self.clientDialog.keyPressEvent(event)
     KXmlGuiWindow.keyPressEvent(self, event)