Skip to main content

VerticalAxisWithRangeControls

VerticalAxisWithRangeControls

Factory result containing all widgets linked to VerticalAxisState.

#include <VerticalAxisWithRangeControls.hpp>

Public Functions

Name
void setRangeGetter(VerticalAxisWidget::RangeGetter getter)
Set the RangeGetter for the axis widget.
template <typename SenderType >
void
connectToRangeChanged(SenderType * sender, void(SenderType::*)() signal)
Connect axis widget to range changes.
void setRange(double min_range, double max_range)
Set the range values programmatically.
void getRange(double & min_range, double & max_range) const
Get the current range values.

Public Attributes

Name
VerticalAxisState * state
VerticalAxisState object (owned by PSTHState or similar).
VerticalAxisWidget * axis_widget
Axis widget (for display in the plot view).
VerticalAxisRangeControls * range_controls
Range controls widget (can be placed in properties panel).

Public Functions Documentation

function setRangeGetter

void setRangeGetter(
    VerticalAxisWidget::RangeGetter getter
)

Set the RangeGetter for the axis widget.

Parameters:

  • getter Function that returns the current range

function connectToRangeChanged

template <typename SenderType >
inline void connectToRangeChanged(
    SenderType * sender,
    void(SenderType::*)() signal
)

Connect axis widget to range changes.

Parameters:

  • sender Object that emits the signal
  • signal Pointer to the signal member function

Template Parameters:

  • SenderType Type of the sender object

function setRange

void setRange(
    double min_range,
    double max_range
)

Set the range values programmatically.

Parameters:

  • min_range Minimum range value
  • max_range Maximum range value

function getRange

void getRange(
    double & min_range,
    double & max_range
) const

Get the current range values.

Parameters:

  • min_range Output parameter for minimum range
  • max_range Output parameter for maximum range

Public Attributes Documentation

variable state

VerticalAxisState * state;

VerticalAxisState object (owned by PSTHState or similar).

variable axis_widget

VerticalAxisWidget * axis_widget;

Axis widget (for display in the plot view).

variable range_controls

VerticalAxisRangeControls * range_controls;

Range controls widget (can be placed in properties panel).


Updated on 2026-11-13 at 20:25:39 +0000