v0.5.1: fix monitor Layout

This commit is contained in:
GABRIEL Sebastian 2026-11-12 14:10:46 +01:00
commit 3be878804b
7 changed files with 606 additions and 395 deletions

View file

@ -1,4 +1,4 @@
# Patient Monitor Simulation (PaMSim) — v0.5.0
# Patient Monitor Simulation (PaMSim) — v0.5.1
A two-window, Rust/GTK4 patient-monitor simulator for teaching on Fedora Linux.
@ -39,8 +39,10 @@ Long names are automatically resized or clipped to fit the header.
Waveforms and vital signs disappear together when their respective
visibility checkbox is cleared. Remaining waveform rows expand to use the space.
Hiding a display channel does **not** stop signal generation or physiological
coupling: for example, hiding ECG does not stop ART or pleth pulses. NIBP can
be hidden independently; this also removes its value box from the right column.
coupling: for example, hiding ECG does not stop ART or pleth pulses. NIBP occupies a dedicated right-column row with an **empty waveform cell** on the
left. All waveform rows and their corresponding numeric boxes share the same
height and horizontal boundaries. NIBP can be hidden independently; its entire
row is then removed and the remaining rows expand evenly.
The monitor can be resized and toggled fullscreen with **F11**; **Esc** exits
fullscreen. On Wayland, move the monitor to the presentation screen before
@ -164,7 +166,9 @@ can be taught.
## NIBP measurement cycle (v0.5.0)
NIBP is **red**, with a dedicated value box in the **right-hand numeric column**.
The previous static NIBP footer has been removed. In Admin, choose an interval
An **empty left-hand waveform cell** occupies the same row, keeping every numeric
value box horizontally aligned with its waveform region. The previous static
NIBP footer has been removed. In Admin, choose an interval
of **1, 3, 5, 10, 20, 30, or 60 minutes** (default 5). The initial cuff cycle
begins when the simulation starts; subsequent intervals run **from the end of
the last measurement**, not from its beginning. **Measure now** starts an
@ -292,8 +296,9 @@ The five **Show on monitor** checkboxes affect the presentation only:
| Capnography | CO₂ waveform, EtCO₂ and RR |
| NIBP | Timed cuff-measurement values and red right-column value box |
Remaining visible waveforms keep their relative order and receive an equal
share of the available area; zero waveform channels is supported.
Remaining visible waveform rows and the NIBP-only row share an equal
portion of the available height and remain aligned across both columns; zero
waveform channels is supported.
## ECG morphology correction (v0.3.1)
@ -399,3 +404,10 @@ environment; run `cargo test` and `cargo run --release` on Fedora.
Choosing another signal quality immediately clears the intermittent outage.
- No changes to Adult alarm presets, alarm limit ordering, or the 0–200 mmHg
arterial scale. All behavior is synthetic and intended for teaching only.
## v0.5.1 — Aligned monitor columns
The left waveform column and right numeric column now share the same row grid.
NIBP reserves an empty cell in the left waveform column instead of shortening
the other numeric rows. Hiding any channel reflows both columns together.
No NIBP measurement logic or alarm behavior was changed.