UtiLite  0.3.1
A lite utilities library
Public Member Functions
UPlotAxis Class Reference

#include <UPlot.h>

List of all members.

Public Member Functions

 UPlotAxis (Qt::Orientation orientation=Qt::Horizontal, float min=0, float max=1, QWidget *parent=0)
void setAxis (float &min, float &max)
int border () const
int step () const
int count () const
void setReversed (bool reversed)

Detailed Description

The UPlot axis object.


Constructor & Destructor Documentation

UPlotAxis::UPlotAxis ( Qt::Orientation  orientation = Qt::Horizontal,
float  min = 0,
float  max = 1,
QWidget *  parent = 0 
)

Constructor.


Member Function Documentation

int UPlotAxis::border ( ) const [inline]

Size of the border between the first line and the beginning of the widget.

int UPlotAxis::count ( ) const [inline]

Number of intervals.

void UPlotAxis::setAxis ( float &  min,
float &  max 
)

Set axis minimum and maximum values, compute the resulting intervals depending on the size of the axis.

void UPlotAxis::setReversed ( bool  reversed)

Reverse the axis (for vertical :bottom->up, for horizontal :right->left)

int UPlotAxis::step ( ) const [inline]

Interval step value.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Friends Defines