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

Go to the source code of this file.

Macros

#define CLICK_THRESHOLD   ( MARKER_WIDTH / 2 + 3 )
 
#define FRAME_MARGIN   2
 
#define MARGIN_BOTTOM   ( MARKER_HEIGHT + 2 )
 
#define MARGIN_X   ( MARKER_WIDTH / 2 )
 
#define MARKER_GAP   1.5
 
#define MARKER_HEIGHT   14
 
#define MARKER_WIDTH   11
 

Macro Definition Documentation

◆ CLICK_THRESHOLD

#define CLICK_THRESHOLD   ( MARKER_WIDTH / 2 + 3 )

Definition at line 28 of file qgsgradientstopeditor.cpp.

◆ FRAME_MARGIN

#define FRAME_MARGIN   2

Definition at line 27 of file qgsgradientstopeditor.cpp.

◆ MARGIN_BOTTOM

#define MARGIN_BOTTOM   ( MARKER_HEIGHT + 2 )

Definition at line 25 of file qgsgradientstopeditor.cpp.

◆ MARGIN_X

#define MARGIN_X   ( MARKER_WIDTH / 2 )

Definition at line 26 of file qgsgradientstopeditor.cpp.

◆ MARKER_GAP

#define MARKER_GAP   1.5

Definition at line 24 of file qgsgradientstopeditor.cpp.

◆ MARKER_HEIGHT

#define MARKER_HEIGHT   14

Definition at line 23 of file qgsgradientstopeditor.cpp.

◆ MARKER_WIDTH

#define MARKER_WIDTH   11

Definition at line 22 of file qgsgradientstopeditor.cpp.