File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ class QGis
148
148
149
149
static const double DEFAULT_IDENTIFY_RADIUS;
150
150
151
+ static const double DEFAULT_SEARCH_RADIUS_MM;
152
+
151
153
//! Default threshold between map coordinates and device coordinates for map2pixel simplification
152
154
static const float DEFAULT_MAPTOPIXEL_THRESHOLD;
153
155
};
Original file line number Diff line number Diff line change @@ -9,9 +9,15 @@ class QgsHighlight : QgsMapCanvasItem
9
9
10
10
void setColor( const QColor & color );
11
11
12
+ void setFillColor( const QColor & fillColor );
13
+
12
14
/** Set width. Ignored in feature mode. */
13
15
void setWidth( int width );
14
16
17
+ void setBuffer( double buffer );
18
+
19
+ void setMinWidth( double width );
20
+
15
21
protected:
16
22
virtual void paint( QPainter* p );
17
23
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ class QgsMapTool : QObject
111
111
*/
112
112
QString toolName();
113
113
114
+ static double searchRadiusMM();
115
+
116
+ static double searchRadiusMU( const QgsRenderContext& context );
117
+
118
+ static double searchRadiusMU( QgsMapCanvas * canvas );
119
+
114
120
signals:
115
121
//! emit a message
116
122
void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO );
You can’t perform that action at this time.
0 commit comments