ui: the tour names the dock button; the user guide's key table follows shortcuts.cpp

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino FerrariandClaude Sonnet 4.6 committed 2026-11-03 07:32:20 +01:00
1 parent 328588a8b9
commit 54f2722fea
4 files changed
+22 -17

No files matched your search

+17 -12
View File
@@ -203,19 +203,24 @@ per sample, `time`, `stream_time`, then one column per signal.
|---|---| |---|---|
| `space` | pause / resume | | `space` | pause / resume |
| `a` | arm / disarm the trigger | | `a` | arm / disarm the trigger |
| `t` | the trigger panel | | `t` | enable / disable trigger mode |
| `l` | the layout editor | | `c` | enable / disable the cursors |
| `g` | go live | | `m` | open or close the Measurements page |
| `f` | fit to data | | `g` | open or close the Signals page (the `+` badge opens it too) |
| `d` | add the first free signal to the focused row | | `l` | show / hide the layout editor |
| `c` | cursors on/off | | `s` | show / hide the dock |
| `m` | measurements pane | | `Esc` | close the slide-over page (the guided tour takes it first) |
| `e` | export | | `f` | fit to data (the plot's own key) |
| `?` | shortcuts | | `Ctrl+E` | export visible range |
| `F1` | open the manual |
| `Ctrl+/` | open the shortcut overview |
| `Ctrl+T` | start the guided tour |
| `Ctrl+H` | turn the contextual help on or off |
| `Ctrl+Q` | quit |
`Ctrl+E` exports, `Ctrl+Q` quits, `Ctrl+plus`/`Ctrl+minus` zoom x and `Alt+plus`/`Alt+minus` zoom y. The plot also answers `+`/`-` (zoom both axes), `Ctrl+plus`/`Ctrl+minus` (zoom x only),
A keystroke is ignored while a text field has focus, so typing in the window control never arms the `Alt+plus`/`Alt+minus` (zoom y only) and the arrow keys (pan). A keystroke is ignored while a text
trigger. field has focus, so typing in the window control never arms the trigger.
## 13. Troubleshooting ## 13. Troubleshooting
+2 -2
View File
@@ -786,8 +786,8 @@ struct App {
std::string config_comment; std::string config_comment;
/// The cache of captured events, and whether latches are being written to it. The store is created /// The cache of captured events, and whether latches are being written to it. The store is created
/// once the source is known (it is keyed on `<host>-<port>`, like the packet capture); /// once the source is known (it is keyed on `<host>-<port>`, like the packet capture);
/// `event_recording` is the trigger panel's switch and defaults on -- the cache is only useful if /// `event_recording` is the trigger panel's switch and starts off; the cache is only useful if
/// it was already on when the event you wanted happened. /// it was already on when the event you wanted happened, so switch it on before the events you want.
std::unique_ptr<EventStore> event_store; std::unique_ptr<EventStore> event_store;
/// Whether the cache holds anything, refreshed once a second: what keeps the dock's Events block and the /// Whether the cache holds anything, refreshed once a second: what keeps the dock's Events block and the
/// `events` page live for a source whose events are already written, even with recording switched off. /// `events` page live for a source whose events are already written, even with recording switched off.
+2 -2
View File
@@ -185,8 +185,8 @@ gboolean exit_probe_step3b(gpointer user) {
a->dbg_dock_sensitive = gtk_widget_get_sensitive(a->side_box) ? 1 : 0; a->dbg_dock_sensitive = gtk_widget_get_sensitive(a->side_box) ? 1 : 0;
a->dbg_dock_w = a->dbg_side_w; a->dbg_dock_w = a->dbg_side_w;
{ {
// The dock holds only the readouts box; the full cursors and measurements panels are slide-over pages, // The dock holds only the readouts box, a separator and the events block; the full cursors and
// registered whether or not either is open. // measurements panels are slide-over pages, registered whether or not either is open.
int children = 0; int children = 0;
for (GtkWidget* c = gtk_widget_get_first_child(a->dock_page); c != nullptr; for (GtkWidget* c = gtk_widget_get_first_child(a->dock_page); c != nullptr;
c = gtk_widget_get_next_sibling(c)) { c = gtk_widget_get_next_sibling(c)) {
+1 -1
View File
@@ -459,7 +459,7 @@ constexpr TourStep kTourSteps[] = {
"fixed width, with the recorded events below them: one row per latched event, newest first, and " "fixed width, with the recorded events below them: one row per latched event, newest first, and "
"one click on a row replays it. Edit, beside each heading, opens that instrument's full panel " "one click on a row replays it. Edit, beside each heading, opens that instrument's full panel "
"over the plot, Manage opens the full list of events; a click on a measurement opens its " "over the plot, Manage opens the full list of events; a click on a measurement opens its "
"dialog. The side-panel button in the bar above shows and hides the dock.", "dialog. The dock button in the bar above shows and hides the dock.",
&App::side_box}, &App::side_box},
{"signals", "signals", "Adding a signal", {"signals", "signals", "Adding a signal",
"What can be added: the signals the source declares that are not acquired yet, each with the " "What can be added: the signals the source declares that are not acquired yet, each with the "