QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
qgscomposerruler.cpp File Reference
#include "qgscomposerruler.h"
#include "qgscomposition.h"
#include "qgis.h"
#include <QDragEnterEvent>
#include <QGraphicsLineItem>
#include <QPainter>
#include <cmath>
Include dependency graph for qgscomposerruler.cpp:

Go to the source code of this file.

Variables

const int RULER_FONT_SIZE = 8
 
const unsigned int COUNT_VALID_MULTIPLES = 3
 
const unsigned int COUNT_VALID_MAGNITUDES = 5
 

Variable Documentation

const unsigned int COUNT_VALID_MAGNITUDES = 5

Definition at line 11 of file qgscomposerruler.cpp.

Referenced by QgsComposerRuler::optimumScale().

const unsigned int COUNT_VALID_MULTIPLES = 3

Definition at line 10 of file qgscomposerruler.cpp.

Referenced by QgsComposerRuler::optimumScale().

const int RULER_FONT_SIZE = 8

Definition at line 9 of file qgscomposerruler.cpp.

Referenced by QgsComposerRuler::QgsComposerRuler().