Debugger: More work on signal configuration

Operating Systems / Haiku - Rene Gollent [gollent.com] - 2 July 2015 21:38 UTC

- Introduce SignalDispositionEditWindow for add/editing disposition exceptions.

SignalsConfigView:- Factor out helper class SignalDispositionMenu. Use accordingly in SignalsConfigView and SignalDispositionEditWindow.
- Watch table selection changes to update button statuses appropriately.
- On add/edit request, show disposition edit window.
- Listen for disposition changes from team and react accordingly.

UiUtils:
- Add helper function to map signal defines to strings.

Together with the previous set of commits, this implements #9720.

b3f2ebf Debugger: More work on signal configuration.
src/apps/debugger/Jamfile | 2 +
src/apps/debugger/MessageCodes.h | 2 +
.../gui/team_settings_window/SignalsConfigView.cpp | 122 +++++++++--
.../gui/team_settings_window/SignalsConfigView.h | 16 +-
.../gui/util/SignalDispositionMenu.cpp | 36 ++++
.../gui/util/SignalDispositionMenu.h | 20 ++
.../SignalDispositionEditWindow.cpp | 223 ++++++++++++++++++++
.../utility_windows/SignalDispositionEditWindow.h | 62 ++++++
src/apps/debugger/user_interface/util/UiUtils.cpp | 55 +++++
src/apps/debugger/user_interface/util/UiUtils.h | 2 +
10 files changed, 522 insertions(+), 18 deletions(-)

Upstream: cgit.haiku-os.org


  • Share