mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
missing identify/highlight sip methods
This commit is contained in:
parent
cdbe1ee303
commit
0bdca1f9b4
@ -148,6 +148,8 @@ class QGis
|
||||
|
||||
static const double DEFAULT_IDENTIFY_RADIUS;
|
||||
|
||||
static const double DEFAULT_SEARCH_RADIUS_MM;
|
||||
|
||||
//! Default threshold between map coordinates and device coordinates for map2pixel simplification
|
||||
static const float DEFAULT_MAPTOPIXEL_THRESHOLD;
|
||||
};
|
||||
|
@ -9,9 +9,15 @@ class QgsHighlight : QgsMapCanvasItem
|
||||
|
||||
void setColor( const QColor & color );
|
||||
|
||||
void setFillColor( const QColor & fillColor );
|
||||
|
||||
/** Set width. Ignored in feature mode. */
|
||||
void setWidth( int width );
|
||||
|
||||
void setBuffer( double buffer );
|
||||
|
||||
void setMinWidth( double width );
|
||||
|
||||
protected:
|
||||
virtual void paint( QPainter* p );
|
||||
|
||||
|
@ -111,6 +111,12 @@ class QgsMapTool : QObject
|
||||
*/
|
||||
QString toolName();
|
||||
|
||||
static double searchRadiusMM();
|
||||
|
||||
static double searchRadiusMU( const QgsRenderContext& context );
|
||||
|
||||
static double searchRadiusMU( QgsMapCanvas * canvas );
|
||||
|
||||
signals:
|
||||
//! emit a message
|
||||
void messageEmitted( QString message, QgsMessageBar::MessageLevel = QgsMessageBar::INFO );
|
||||
|
Loading…
x
Reference in New Issue
Block a user