Skip to content

Struct QAccelPlot::AxisTickPainter::Params

ClassList > QAccelPlot > AxisTickPainter > Params

All style inputs required for a single paint call, bundled to reduce parameter count.

  • #include <AxisTickPainter.hpp>

Public Attributes

Type Name
bool clampEdgeLabels = {false}
Whether labels at the extremes are clamped inward.
QColor defaultSubtickColor
Sub-tick color when not hovered.
QColor hoverColor
Label/tick color when hovered.
bool hovered = {false}
Whether the axis is currently hovered.
qreal labelOverflow = {0.0}
Extra space reserved for edge label overflow.
Qt::Orientation orientation = {Qt::Horizontal}
Axis orientation.
Axis::Side side = {Axis::Left}
Axis side.
const AxisTicker * ticker = {nullptr}
Tick style configuration object.

Public Attributes Documentation

variable clampEdgeLabels

Whether labels at the extremes are clamped inward.

bool QAccelPlot::AxisTickPainter::Params::clampEdgeLabels;


variable defaultSubtickColor

Sub-tick color when not hovered.

QColor QAccelPlot::AxisTickPainter::Params::defaultSubtickColor;


variable hoverColor

Label/tick color when hovered.

QColor QAccelPlot::AxisTickPainter::Params::hoverColor;


variable hovered

Whether the axis is currently hovered.

bool QAccelPlot::AxisTickPainter::Params::hovered;


variable labelOverflow

Extra space reserved for edge label overflow.

qreal QAccelPlot::AxisTickPainter::Params::labelOverflow;


variable orientation

Axis orientation.

Qt::Orientation QAccelPlot::AxisTickPainter::Params::orientation;


variable side

Axis side.

Axis::Side QAccelPlot::AxisTickPainter::Params::side;


variable ticker

Tick style configuration object.

const AxisTicker* QAccelPlot::AxisTickPainter::Params::ticker;



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/axis/AxisTickPainter.hpp