SequencerView
The tracker's sequencer: one column per track, one row per step, and a pattern entry in each cell.
| Declared in | src/libs/libbahn/bahn/tracker/ui/SequencerView.hpp |
| Inherits | QWidget |
| Group | bahn |
Detailed description
The view shows the song's Sequence. Each column is one track, and so one node. Each row is one step. A cell holds the pattern that the track starts at that step, as one character: 0 to 9, a to z, and A to Z select the node's patterns in order. A gutter at the left shows the steps, and marks show the sequence begin and end, the loop begin and end, and the play position.
A person types a pattern character at the cursor to place an entry. The menu and the shortcuts add, remove and move tracks, erase and break entries, insert and delete rows, and set the sequence and loop bounds. Enter opens the pattern under the cursor in the pattern editor, through the navigate() signal.
See also Sequence, PatternView.
Member function documentation
removeTrack
void SequencerView::removeTrack()
Remove the track under the cursor.
The menu entry, `Ctrl+-` and the `seq.remove_track` shortcut all reached this, and it was an empty stub, so no track could ever be removed — the owner found it on an Output node's track (2026-10-02). The node stays in the graph and keeps sounding; only its column goes. "Add Track..." puts a column back.
selectedNode
QSharedPointer<bahn::Node> SequencerView::selectedNode()
The node the cursor is on.
Made public 2026-09-26 for specs/bahn-live-feedback §BLD-2a: Ctrl+L solos the current node, and the window has to ask the view which one that is. PatternView's equivalent was already public.