#include <UPlot.h>
The UPlot axis object.
Definition at line 286 of file UPlot.h.
◆ UPlotAxis()
UPlotAxis::UPlotAxis |
( |
Qt::Orientation |
orientation = Qt::Horizontal , |
|
|
float |
min = 0 , |
|
|
float |
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 304 of file UPlot.h.
◆ count()
int UPlotAxis::count |
( |
| ) |
const |
|
inline |
Number of intervals.
Definition at line 312 of file UPlot.h.
◆ paintEvent()
void UPlotAxis::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
◆ setAxis()
void UPlotAxis::setAxis |
( |
float & |
min, |
|
|
float & |
max |
|
) |
| |
Set axis minimum and maximum values, compute the resulting intervals depending on the size of the axis.
Definition at line 1096 of file UPlot.cpp.
◆ setReversed()
void UPlotAxis::setReversed |
( |
bool |
reversed | ) |
|
Reverse the axis (for vertical :bottom->up, for horizontal :right->left)
Definition at line 1085 of file UPlot.cpp.
◆ step()
int UPlotAxis::step |
( |
| ) |
const |
|
inline |
Interval step value.
Definition at line 308 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: