QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Macros
qgscolorswatchgrid.cpp File Reference
#include "qgscolorswatchgrid.h"
#include "qgsapplication.h"
#include "qgslogger.h"
#include <QPainter>
#include <QMouseEvent>
#include <QMenu>
Include dependency graph for qgscolorswatchgrid.cpp:

Go to the source code of this file.

Macros

#define BOTTOM_MARGIN   6
 
#define LABEL_MARGIN   4
 
#define LABEL_SIZE   20
 
#define LEFT_MARGIN   6
 
#define NUMBER_COLORS_PER_ROW   10
 
#define RIGHT_MARGIN   6
 
#define SWATCH_SIZE   14
 
#define SWATCH_SPACING   4
 
#define TOP_MARGIN   6
 

Macro Definition Documentation

◆ BOTTOM_MARGIN

#define BOTTOM_MARGIN   6

Definition at line 29 of file qgscolorswatchgrid.cpp.

◆ LABEL_MARGIN

#define LABEL_MARGIN   4

Definition at line 31 of file qgscolorswatchgrid.cpp.

◆ LABEL_SIZE

#define LABEL_SIZE   20

Definition at line 30 of file qgscolorswatchgrid.cpp.

◆ LEFT_MARGIN

#define LEFT_MARGIN   6

Definition at line 26 of file qgscolorswatchgrid.cpp.

◆ NUMBER_COLORS_PER_ROW

#define NUMBER_COLORS_PER_ROW   10

Definition at line 23 of file qgscolorswatchgrid.cpp.

◆ RIGHT_MARGIN

#define RIGHT_MARGIN   6

Definition at line 27 of file qgscolorswatchgrid.cpp.

◆ SWATCH_SIZE

#define SWATCH_SIZE   14

Definition at line 24 of file qgscolorswatchgrid.cpp.

◆ SWATCH_SPACING

#define SWATCH_SPACING   4

Definition at line 25 of file qgscolorswatchgrid.cpp.

◆ TOP_MARGIN

#define TOP_MARGIN   6

Definition at line 28 of file qgscolorswatchgrid.cpp.