QGIS API Documentation  2.17.0-Master (00653d2)
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.


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

Variable Documentation


const unsigned int COUNT_VALID_MAGNITUDES = 5

Definition at line 25 of file qgscomposerruler.cpp.


const unsigned int COUNT_VALID_MULTIPLES = 3

Definition at line 24 of file qgscomposerruler.cpp.


const int RULER_FONT_SIZE = 8

Definition at line 23 of file qgscomposerruler.cpp.