#include <UPlot.h>
The UPlot axis object.
Definition at line 295 of file UPlot.h.
UPlotAxis::UPlotAxis |
( |
Qt::Orientation |
orientation = Qt::Horizontal , |
|
|
qreal |
min = 0 , |
|
|
qreal |
max = 1 , |
|
|
QWidget * |
parent = 0 |
|
) |
| |
UPlotAxis::~UPlotAxis |
( |
| ) |
|
|
virtual |
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.
int UPlotAxis::count |
( |
| ) |
const |
|
inline |
Number of intervals.
Definition at line 321 of file UPlot.h.
void UPlotAxis::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
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.
void UPlotAxis::setReversed |
( |
bool |
reversed | ) |
|
Reverse the axis (for vertical :bottom->up, for horizontal :right->left)
Definition at line 1176 of file UPlot.cpp.
int UPlotAxis::step |
( |
| ) |
const |
|
inline |
Interval step value.
Definition at line 317 of file UPlot.h.
int UPlotAxis::_gradMaxDigits |
|
private |
Qt::Orientation UPlotAxis::_orientation |
|
private |
bool UPlotAxis::_reversed |
|
private |
The documentation for this class was generated from the following files: