#include <profileattributetrackswidget.h>
◆ ProfileAttributeTracksWidget()
| ProfileAttributeTracksWidget::ProfileAttributeTracksWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ mouseMoveEvent()
| void ProfileAttributeTracksWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void ProfileAttributeTracksWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
| void ProfileAttributeTracksWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
| void ProfileAttributeTracksWidget::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ pixelForVirtualX()
| double ProfileAttributeTracksWidget::pixelForVirtualX |
( |
double |
vx | ) |
const |
◆ setCurrentPeriod
| void ProfileAttributeTracksWidget::setCurrentPeriod |
( |
int |
period | ) |
|
|
slot |
Animation cursor — index into each profile's [period] arrays. -1 hides the current-time curves (envelopes stay).
◆ setHorizontalMargins()
| void ProfileAttributeTracksWidget::setHorizontalMargins |
( |
int |
leftPx, |
|
|
int |
rightPx |
|
) |
| |
The profile widget's horizontal gutters, so columns align.
◆ setOptions()
Chrome + styling source; the widget connects to changed() and repaints. May be null (defaults used).
◆ setRealChainageMapper()
| void ProfileAttributeTracksWidget::setRealChainageMapper |
( |
std::function< double(double)> |
fn | ) |
|
Maps virtual x → real chainage for the shared bottom tick labels. Wrap the profile widget's virtualToRealChainage. Null = label raw.
◆ setTracks()
| void ProfileAttributeTracksWidget::setTracks |
( |
const QVector< Track > & |
tracks | ) |
|
Replaces all tracks. Order is the display order (top to bottom).
◆ setVirtualChainage()
| void ProfileAttributeTracksWidget::setVirtualChainage |
( |
const QVector< double > & |
table | ) |
|
◆ setVisibleXRange
| void ProfileAttributeTracksWidget::setVisibleXRange |
( |
double |
vxMin, |
|
|
double |
vxMax |
|
) |
| |
|
slot |
Sets the visible x-range in virtual chainage. The profile widget's visibleXRangeChanged connects here (and this widget's own signal connects back to ProfilePlotWidget::setVisibleXRange — the host guards the loop).
◆ setXLabel()
| void ProfileAttributeTracksWidget::setXLabel |
( |
const QString & |
label | ) |
|
Shared x-label (e.g. "Distance (ft)") drawn under the last track.
◆ trackCount()
| int ProfileAttributeTracksWidget::trackCount |
( |
| ) |
const |
|
inline |
◆ virtualXForPixel()
| double ProfileAttributeTracksWidget::virtualXForPixel |
( |
double |
px | ) |
const |
◆ visibleXRangeChanged
| void ProfileAttributeTracksWidget::visibleXRangeChanged |
( |
double |
vxMin, |
|
|
double |
vxMax |
|
) |
| |
|
signal |
Emitted when THIS pane pans/zooms its x-axis (wheel / drag), so the profile above can follow. Never emitted from setVisibleXRange().
◆ wheelEvent()
| void ProfileAttributeTracksWidget::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
overrideprotected |
The documentation for this class was generated from the following files: