|
QGIS API Documentation
2.6.0-Brighton
|
Scalebar style that draws a single box with alternating color for the segments. More...
#include <qgssingleboxscalebarstyle.h>

Public Member Functions | |
| QgsSingleBoxScaleBarStyle (const QgsComposerScaleBar *bar) | |
| ~QgsSingleBoxScaleBarStyle () | |
| QString | name () const |
| void | draw (QPainter *p, double xOffset=0) const |
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 |
Scalebar style that draws a single box with alternating color for the segments.
| QgsSingleBoxScaleBarStyle::QgsSingleBoxScaleBarStyle | ( | const QgsComposerScaleBar * | bar | ) |
| QgsSingleBoxScaleBarStyle::~QgsSingleBoxScaleBarStyle | ( | ) |
|
virtual |
|
virtual |
Implements QgsScaleBarStyle.
1.8.1.2