Quantum GIS API Documentation  1.7.4
src/core/composer/qgssingleboxscalebarstyle.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                             qgssingleboxscalebarstyle.h
00003                             ------------------
00004     begin                : June 2008
00005     copyright            : (C) 2008 by Marco Hugentobler
00006     email                : marco.hugentobler@karto.baug.ethz.ch
00007  ***************************************************************************/
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef QGSSINGLEBOXSCALEBARSTYLE_H
00018 #define QGSSINGLEBOXSCALEBARSTYLE_H
00019 
00020 #include "qgsscalebarstyle.h"
00021 
00026 class CORE_EXPORT QgsSingleBoxScaleBarStyle: public QgsScaleBarStyle
00027 {
00028   public:
00029     QgsSingleBoxScaleBarStyle( const QgsComposerScaleBar* bar );
00030     ~QgsSingleBoxScaleBarStyle();
00031 
00032     QString name() const;
00033 
00038     void draw( QPainter* p, double xOffset = 0 ) const;
00039 
00040   private:
00041     QgsSingleBoxScaleBarStyle(); //forbidden
00042 };
00043 
00044 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines