]> sigrok.org Git - pulseview.git/commit
Use a generic approach when adding the "close on enter" hook for popups
authorSoeren Apel <redacted>
Tue, 9 Sep 2014 20:45:40 +0000 (22:45 +0200)
committerUwe Hermann <redacted>
Mon, 15 Sep 2014 19:24:15 +0000 (21:24 +0200)
commit0715fb8c638b53ac25590841fcbf3a1da3546b68
treee451d1441479865528fb26ac1f535ff41a7de621
parentfc3e73d0730e032c6c8d49dd80ff8a3620674ebc
Use a generic approach when adding the "close on enter" hook for popups

Implement a generic approach to the "close on enter" feature
in popups by installing the key event handler on the first editable
widget it finds in the popup.
pv/view/signal.cpp
pv/view/signal.h
pv/view/trace.cpp
pv/view/trace.h
pv/widgets/popup.cpp
pv/widgets/popup.h