QGIS API Documentation  master-3f58142
QgsSingleBoxScaleBarStyle Class Reference

Scalebar style that draws a single box with alternating color for the segments. More...

#include <qgssingleboxscalebarstyle.h>

+ Inheritance diagram for QgsSingleBoxScaleBarStyle:
+ Collaboration diagram for QgsSingleBoxScaleBarStyle:

List of all members.

Public Member Functions

 QgsSingleBoxScaleBarStyle (const QgsComposerScaleBar *bar)
 ~QgsSingleBoxScaleBarStyle ()
void draw (QPainter *p, double xOffset=0) const
QString name () const

Private Member Functions

 QgsSingleBoxScaleBarStyle ()

Detailed Description

Scalebar style that draws a single box with alternating color for the segments.

Definition at line 26 of file qgssingleboxscalebarstyle.h.


Constructor & Destructor Documentation


Member Function Documentation

QString QgsSingleBoxScaleBarStyle::name ( ) const [virtual]

Implements QgsScaleBarStyle.

Definition at line 77 of file qgssingleboxscalebarstyle.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines