#include <UPlot.h>
The UPlot axis object.
Definition at line 294 of file UPlot.h.
UPlotAxis::UPlotAxis |
( |
Qt::Orientation |
orientation = Qt::Horizontal , |
|
|
float |
min = 0 , |
|
|
float |
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 312 of file UPlot.h.
int UPlotAxis::count |
( |
| ) |
const |
|
inline |
Number of intervals.
Definition at line 320 of file UPlot.h.
void UPlotAxis::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
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 1181 of file UPlot.cpp.
void UPlotAxis::setReversed |
( |
bool |
reversed | ) |
|
Reverse the axis (for vertical :bottom->up, for horizontal :right->left)
Definition at line 1170 of file UPlot.cpp.
int UPlotAxis::step |
( |
| ) |
const |
|
inline |
Interval step value.
Definition at line 316 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: