Quantum GIS API Documentation  1.8
Public Member Functions | Private Member Functions
QgsSingleBoxScaleBarStyle Class Reference

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

#include <qgssingleboxscalebarstyle.h>

Inheritance diagram for QgsSingleBoxScaleBarStyle:
Inheritance graph
[legend]
Collaboration diagram for QgsSingleBoxScaleBarStyle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsSingleBoxScaleBarStyle (const QgsComposerScaleBar *bar)
 ~QgsSingleBoxScaleBarStyle ()
QString name () const
void draw (QPainter *p, double xOffset=0) 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

Definition at line 22 of file qgssingleboxscalebarstyle.cpp.

Definition at line 32 of file qgssingleboxscalebarstyle.cpp.

Definition at line 27 of file qgssingleboxscalebarstyle.cpp.


Member Function Documentation

void QgsSingleBoxScaleBarStyle::draw ( QPainter *  p,
double  xOffset = 0 
) const [virtual]
QString QgsSingleBoxScaleBarStyle::name ( ) const [virtual]

Implements QgsScaleBarStyle.

Definition at line 76 of file qgssingleboxscalebarstyle.cpp.


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