Update only the tinted data span (display-ns), keeping the rest of the layout — used to track the band live during a bar drag without a rebuild.
| 431 | /// Update only the tinted data span (display-ns), keeping the rest of the |
| 432 | /// layout — used to track the band live during a bar drag without a rebuild. |
| 433 | void setDataSpan(qint64 data_min_ns, qint64 data_max_ns) { |
| 434 | data_min_ns_ = data_min_ns; |
| 435 | data_max_ns_ = data_max_ns; |
| 436 | update(); |
| 437 | } |
| 438 | |
| 439 | [[nodiscard]] QRectF boundingRect() const override { |
| 440 | return QRectF(0, 0, width_px_, kRulerHeight); |
no outgoing calls
no test coverage detected