Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/XMCDWindow.py   pymca(Download)
 
        # Shortcuts
        self.updateShortcut = qt.QShortcut(qt.QKeySequence('F5'), self)
        self.updateShortcut.activated.connect(self.updatePlots)
        self.optionsWindowShortcut = qt.QShortcut(qt.QKeySequence('Alt+O'), self)
        self.optionsWindowShortcut.activated.connect(self.showOptionsWindow)
        self.helpFileShortcut = qt.QShortcut(qt.QKeySequence('F1'), self)
        self.helpFileShortcut.activated.connect(self.showInfoWindow)
        self.expSelectorShortcut = qt.QShortcut(qt.QKeySequence('Tab'), self)
        self.expSelectorShortcut = qt.QShortcut(qt.QKeySequence('Tab'), self)
        self.expSelectorShortcut.activated.connect(self.activateExpCB)
        self.saveShortcut = qt.QShortcut(qt.QKeySequence('Ctrl+S'), self)
        self.saveShortcut.activated.connect(self.analysisWindow._saveIconSignal)
 

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MotorInfoWindow.py   pymca(Download)
        self.resize(700, 400)
        # Create shortcuts
        self.updateShortCut = qt.QShortcut(qt.QKeySequence('F5'), self)
        self.addColShortCut = qt.QShortcut(qt.QKeySequence('Ctrl++'), self)
        self.delColShortCut = qt.QShortcut(qt.QKeySequence('Ctrl+-'), self)