QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

#define BOTTOM_MARGIN   6

Definition at line 29 of file qgscolorswatchgrid.cpp.

#define LABEL_MARGIN   4

Definition at line 31 of file qgscolorswatchgrid.cpp.

#define LABEL_SIZE   20

Definition at line 30 of file qgscolorswatchgrid.cpp.

#define LEFT_MARGIN   6

Definition at line 26 of file qgscolorswatchgrid.cpp.

#define NUMBER_COLORS_PER_ROW   10

Definition at line 23 of file qgscolorswatchgrid.cpp.

#define RIGHT_MARGIN   6

Definition at line 27 of file qgscolorswatchgrid.cpp.

#define SWATCH_SIZE   14

Definition at line 24 of file qgscolorswatchgrid.cpp.

#define SWATCH_SPACING   4

Definition at line 25 of file qgscolorswatchgrid.cpp.

#define TOP_MARGIN   6

Definition at line 28 of file qgscolorswatchgrid.cpp.