QGIS API Documentation
2.6.0-Brighton
|
A scale bar that draws segments using short ticks. More...
#include <qgsticksscalebarstyle.h>
Public Types | |
enum | TickPosition { TicksUp, TicksDown, TicksMiddle } |
Public Member Functions | |
QgsTicksScaleBarStyle (const QgsComposerScaleBar *bar) | |
~QgsTicksScaleBarStyle () | |
QString | name () const |
void | draw (QPainter *p, double xOffset=0) const |
void | setTickPosition (TickPosition p) |
Public Member Functions inherited from QgsScaleBarStyle | |
QgsScaleBarStyle (const QgsComposerScaleBar *bar) | |
virtual | ~QgsScaleBarStyle () |
virtual void | drawLabels (QPainter *p) const |
virtual QRectF | calculateBoxSize () const |
Additional Inherited Members | |
Protected Attributes inherited from QgsScaleBarStyle | |
const QgsComposerScaleBar * | mScaleBar |
A scale bar that draws segments using short ticks.
QgsTicksScaleBarStyle::QgsTicksScaleBarStyle | ( | const QgsComposerScaleBar * | bar | ) |
QgsTicksScaleBarStyle::~QgsTicksScaleBarStyle | ( | ) |
|
virtual |
|
virtual |
Implements QgsScaleBarStyle.
|
inline |