QGIS API Documentation  3.17.0-Master (3b262f2a79)
Variables
qgslayoutruler.cpp File Reference
#include "qgslayoutruler.h"
#include "qgslayout.h"
#include "qgis.h"
#include "qgslayoutview.h"
#include "qgslogger.h"
#include "qgslayoutpagecollection.h"
#include <QDragEnterEvent>
#include <QGraphicsLineItem>
#include <QPainter>
#include <QMenu>
#include <cmath>
Include dependency graph for qgslayoutruler.cpp:

Go to the source code of this file.

Variables

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

Variable Documentation

◆ COUNT_VALID_MAGNITUDES

const unsigned int COUNT_VALID_MAGNITUDES = 5

Definition at line 29 of file qgslayoutruler.cpp.

◆ COUNT_VALID_MULTIPLES

const unsigned int COUNT_VALID_MULTIPLES = 3

Definition at line 28 of file qgslayoutruler.cpp.

◆ RULER_FONT_SIZE

const int RULER_FONT_SIZE = 8

Definition at line 27 of file qgslayoutruler.cpp.