Skip to content

Commit

Permalink
missing identify/highlight sip methods
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Mar 27, 2014
1 parent cdbe1ee commit 0bdca1f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/qgis.sip
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ class QGis


static const double DEFAULT_IDENTIFY_RADIUS; static const double DEFAULT_IDENTIFY_RADIUS;


static const double DEFAULT_SEARCH_RADIUS_MM;

//! Default threshold between map coordinates and device coordinates for map2pixel simplification //! Default threshold between map coordinates and device coordinates for map2pixel simplification
static const float DEFAULT_MAPTOPIXEL_THRESHOLD; static const float DEFAULT_MAPTOPIXEL_THRESHOLD;
}; };
Expand Down
6 changes: 6 additions & 0 deletions python/gui/qgshighlight.sip
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ class QgsHighlight : QgsMapCanvasItem


void setColor( const QColor & color ); void setColor( const QColor & color );


void setFillColor( const QColor & fillColor );

/** Set width. Ignored in feature mode. */ /** Set width. Ignored in feature mode. */
void setWidth( int width ); void setWidth( int width );


void setBuffer( double buffer );

void setMinWidth( double width );

protected: protected:
virtual void paint( QPainter* p ); virtual void paint( QPainter* p );


Expand Down
6 changes: 6 additions & 0 deletions python/gui/qgsmaptool.sip
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ class QgsMapTool : QObject
*/ */
QString toolName(); QString toolName();


static double searchRadiusMM();

static double searchRadiusMU( const QgsRenderContext& context );

static double searchRadiusMU( QgsMapCanvas * canvas );

signals: signals:
//! emit a message //! emit a message
void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO ); void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO );
Expand Down

0 comments on commit 0bdca1f

Please sign in to comment.