[update] filter hotkeys changed to P, S, Ctrl+F

This commit is contained in:
Marcel Paffrath 2018-01-12 10:10:51 +01:00
parent 185cc14e38
commit 23ed5ceb5c
3 changed files with 7 additions and 7 deletions

View File

@ -378,17 +378,17 @@ class MainWindow(QMainWindow):
tip='Toggle filtered/original' tip='Toggle filtered/original'
' waveforms', ' waveforms',
checkable=True, checkable=True,
shortcut='Ctrl+F') shortcut='P')
self.filterActionS = createAction(parent=self, text='Apply S Filter', self.filterActionS = createAction(parent=self, text='Apply S Filter',
slot=self.filterS, slot=self.filterS,
icon=self.filter_icon_s, icon=self.filter_icon_s,
tip='Toggle filtered/original' tip='Toggle filtered/original'
' waveforms', ' waveforms',
checkable=True, checkable=True,
shortcut='Shift+F') shortcut='S')
filterEditAction = self.createAction(self, "&Filter parameter ...", filterEditAction = self.createAction(self, "&Filter parameter ...",
self.adjustFilterOptions, self.adjustFilterOptions,
"Alt+F", self.filter_icon, "Ctrl+F", self.filter_icon,
"""Adjust filter parameters.""") """Adjust filter parameters.""")
self.inventoryAction = self.createAction(self, "Select &Inventory ...", self.inventoryAction = self.createAction(self, "Select &Inventory ...",
self.get_new_metadata, self.get_new_metadata,

View File

@ -1 +1 @@
c7dc-dirty 185c-dirty

View File

@ -1264,14 +1264,14 @@ class PickDlg(QDialog):
tip='Toggle filtered/original' tip='Toggle filtered/original'
' waveforms', ' waveforms',
checkable=True, checkable=True,
shortcut='Ctrl+F') shortcut='P')
self.filterActionS = createAction(parent=self, text='Apply S Filter', self.filterActionS = createAction(parent=self, text='Apply S Filter',
slot=self.filterS, slot=self.filterS,
icon=filter_icon_s, icon=filter_icon_s,
tip='Toggle filtered/original' tip='Toggle filtered/original'
' waveforms', ' waveforms',
checkable=True, checkable=True,
shortcut='Shift+F') shortcut='S')
self.autoFilterAction = createAction(parent=self, text='Automatic Filtering', self.autoFilterAction = createAction(parent=self, text='Automatic Filtering',
slot=self.toggleAutoFilter, slot=self.toggleAutoFilter,
icon=key_a_icon, icon=key_a_icon,
@ -1540,7 +1540,7 @@ class PickDlg(QDialog):
filterOptionsAction = createAction(parent=self, text="&Filter parameter ...", filterOptionsAction = createAction(parent=self, text="&Filter parameter ...",
slot=self.filterOptions, slot=self.filterOptions,
shortcut='Alt+F', shortcut='Ctrl+F',
icon=self.orig_parent.filter_icon) icon=self.orig_parent.filter_icon)
filterMenu = menuBar.addMenu('Filter') filterMenu = menuBar.addMenu('Filter')
filterMenu.addAction(self.filterActionP) filterMenu.addAction(self.filterActionP)