#include <qwt3d_colorlegend.h>
Inheritance diagram for ColorLegend:
Public Types | |
enum | SCALEPOSITION { Top, Bottom, Left, Right } |
enum | ORIENTATION { BottomTop, LeftRight } |
Public Member Functions | |
ColorLegend () | |
void | draw () |
void | setRelPosition (Qwt3D::Tuple relMin, Qwt3D::Tuple relMax) |
void | setOrientation (ORIENTATION, SCALEPOSITION) |
void | setLimits (double start, double stop) |
void | setMajors (int) |
void | setMinors (int) |
void | drawScale (bool val) |
void | drawNumbers (bool val) |
void | setAutoScale (bool val) |
void | setScale (Qwt3D::Scale *scale) |
void | setScale (Qwt3D::SCALETYPE) |
void | setTitleString (QString const &s) |
void | setTitleFont (QString const &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
Public Attributes | |
Qwt3D::ColorVector | colors |
|
Possible anchor points for caption and axis.
|
|
Orientation of the legend.
|
|
Standard constructor. Contructs a legend object with an axis at the left side. The legend resides in the top-right area and has no caption. Scale numbering is shown. |
|
Draws the object. You should not use this explicitely - the function is called by updateGL().
Reimplemented from Drawable. |
|
Sets the relative position of the legend inside widget.
|
|
Sets legend orientation and scale position.
|
|
Sets the limit of the scale.
|
|
Sets scale major tics.
|
|
Sets scale minor tics.
|
|
Sets whether a scale will be drawn.
|
|
Sets whether the scale will have scale numbers.
|
|
Sets, whether the axis is autoscaled or not.
|
|
Sets another scale.
|
|
Sets one of the predefined scale types.
|
|
Sets the legends caption string.
|
|
Sets the legends caption font.
|
|
The color vector.
|