#include <UPlot.h>
The UPlot axis object.
Definition at line 295 of file UPlot.h.
◆ UPlotAxis()
UPlotAxis::UPlotAxis |
( |
Qt::Orientation |
orientation = Qt::Horizontal , |
|
|
qreal |
min = 0 , |
|
|
qreal |
max = 1 , |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~UPlotAxis()
UPlotAxis::~UPlotAxis |
( |
| ) |
|
|
virtual |
◆ border()
int UPlotAxis::border |
( |
| ) |
const |
|
inline |
Size of the border between the first line and the beginning of the widget.
Definition at line 313 of file UPlot.h.
◆ count()
int UPlotAxis::count |
( |
| ) |
const |
|
inline |
Number of intervals.
Definition at line 321 of file UPlot.h.
◆ paintEvent()
void UPlotAxis::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
◆ setAxis()
void UPlotAxis::setAxis |
( |
qreal & |
min, |
|
|
qreal & |
max |
|
) |
| |
Set axis minimum and maximum values, compute the resulting intervals depending on the size of the axis.
Definition at line 1187 of file UPlot.cpp.
◆ setReversed()
void UPlotAxis::setReversed |
( |
bool |
reversed | ) |
|
Reverse the axis (for vertical :bottom->up, for horizontal :right->left)
Definition at line 1176 of file UPlot.cpp.
◆ step()
int UPlotAxis::step |
( |
| ) |
const |
|
inline |
Interval step value.
Definition at line 317 of file UPlot.h.
◆ _border
◆ _count
◆ _gradMaxDigits
int UPlotAxis::_gradMaxDigits |
|
private |
◆ _max
◆ _min
◆ _orientation
Qt::Orientation UPlotAxis::_orientation |
|
private |
◆ _reversed
bool UPlotAxis::_reversed |
|
private |
◆ _step
The documentation for this class was generated from the following files: