v2.0.0
Loading...
Searching...
No Matches
timerulerwidget.h File Reference

Horizontal time-axis ruler displayed beneath ChannelDataView with sample / second ticks. More...

#include "../../disp_global.h"
#include <QWidget>
#include <QColor>
#include <QVector>
Include dependency graph for timerulerwidget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DISPLIB::TimeRulerEventMark
 Lightweight event mark passed to TimeRulerWidget for the stim lane. More...
struct  DISPLIB::TimeRulerReferenceMark
 Lightweight reference/sample marker passed to TimeRulerWidget. More...
class  DISPLIB::TimeRulerWidget
 Horizontal time-axis ruler displayed beneath ChannelDataView. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Detailed Description

Horizontal time-axis ruler displayed beneath ChannelDataView with sample / second ticks.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.1.0
Date
March 2026

TimeRulerWidget paints the time axis aligned with the central raw table, supports left-click drag for window scrolling and right-click context actions (jump to event, set marker). Tick spacing adapts to the current zoom so the labels stay readable from milliseconds to minutes.

Definition in file timerulerwidget.h.