|
QGIS API Documentation
2.6.0-Brighton
|
Double box with alternating colors. More...
#include <qgsdoubleboxscalebarstyle.h>

Public Member Functions | |
| QgsDoubleBoxScaleBarStyle (const QgsComposerScaleBar *bar) | |
| ~QgsDoubleBoxScaleBarStyle () | |
| QString | name () const |
| void | draw (QPainter *p, double xOffset=0) const |
| Draws the style. | |
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 |
Double box with alternating colors.
| QgsDoubleBoxScaleBarStyle::QgsDoubleBoxScaleBarStyle | ( | const QgsComposerScaleBar * | bar | ) |
| QgsDoubleBoxScaleBarStyle::~QgsDoubleBoxScaleBarStyle | ( | ) |
|
virtual |
Draws the style.
| p | painter object |
| xOffset | offset to account for centered labeling |
Implements QgsScaleBarStyle.
|
virtual |
Implements QgsScaleBarStyle.
1.8.1.2