Drop old commented behaviour; see parent class if needed
parent
03c95ca908
commit
983a517a8c
|
@ -105,20 +105,6 @@ async def handle_viewmode_inputs(
|
||||||
elif key == Qt.Key_A:
|
elif key == Qt.Key_A:
|
||||||
view.mode.set_exec('alert')
|
view.mode.set_exec('alert')
|
||||||
|
|
||||||
# XXX: Leaving this for light reference purposes, there
|
|
||||||
# seems to be some work to at least gawk at for history mgmt.
|
|
||||||
|
|
||||||
# Key presses are used only when mouse mode is RectMode
|
|
||||||
# The following events are implemented:
|
|
||||||
# ctrl-A : zooms out to the default "full" view of the plot
|
|
||||||
# ctrl-+ : moves forward in the zooming stack (if it exists)
|
|
||||||
# ctrl-- : moves backward in the zooming stack (if it exists)
|
|
||||||
|
|
||||||
# view.scaleHistory(-1)
|
|
||||||
# elif ev.text() in ['+', '=']:
|
|
||||||
# view.scaleHistory(1)
|
|
||||||
# elif ev.key() == QtCore.Qt.Key_Backspace:
|
|
||||||
# view.scaleHistory(len(view.axHistory))
|
|
||||||
else:
|
else:
|
||||||
# maybe propagate to parent widget
|
# maybe propagate to parent widget
|
||||||
# event.ignore()
|
# event.ignore()
|
||||||
|
|
Loading…
Reference in New Issue