(self)
Add additional hotkeys to the Previewer window
Add additional hotkeys to the Previewer window
Add additional hotkeys to the Previewer window
def onSetupHotkeys(self):
    """Add additional hotkeys to the Previewer window"""
    nextTagCut = QShortcut(QKeySequence(_("Down")), 
            self, activated=lambda: self.b.onTagMove("n"))
    prevTagCut = QShortcut(QKeySequence(_("Up")), 
            self, activated=lambda: self.b.onTagMove("p"))
def onSetupHotkeys ( self ) : nextTagCut = QShortcut ( QKeySequence ( _ ( "Down" ) ) , self , activated = lambda : self . b . onTagMove ( "n" ) ) prevTagCut = QShortcut ( QKeySequence ( _ ( "Up" ) ) , self , activated = lambda : self . b . onTagMove ( "p" ) )