Skip to content

Commit 0bdca1f

Browse files
committedMar 27, 2014
missing identify/highlight sip methods
1 parent cdbe1ee commit 0bdca1f

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
 

‎python/core/qgis.sip

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ class QGis
148148

149149
static const double DEFAULT_IDENTIFY_RADIUS;
150150

151+
static const double DEFAULT_SEARCH_RADIUS_MM;
152+
151153
//! Default threshold between map coordinates and device coordinates for map2pixel simplification
152154
static const float DEFAULT_MAPTOPIXEL_THRESHOLD;
153155
};

‎python/gui/qgshighlight.sip

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ class QgsHighlight : QgsMapCanvasItem
99

1010
void setColor( const QColor & color );
1111

12+
void setFillColor( const QColor & fillColor );
13+
1214
/** Set width. Ignored in feature mode. */
1315
void setWidth( int width );
1416

17+
void setBuffer( double buffer );
18+
19+
void setMinWidth( double width );
20+
1521
protected:
1622
virtual void paint( QPainter* p );
1723

‎python/gui/qgsmaptool.sip

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ class QgsMapTool : QObject
111111
*/
112112
QString toolName();
113113

114+
static double searchRadiusMM();
115+
116+
static double searchRadiusMU( const QgsRenderContext& context );
117+
118+
static double searchRadiusMU( QgsMapCanvas * canvas );
119+
114120
signals:
115121
//! emit a message
116122
void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO );

0 commit comments

Comments
 (0)
Please sign in to comment.