QGIS/python/gui/qgshighlight.sip

21 lines
447 B
Plaintext
Raw Normal View History

2013-06-24 08:43:47 +02:00
class QgsHighlight : QgsMapCanvasItem
{
%TypeHeaderCode
#include <qgshighlight.h>
%End
public:
QgsHighlight( QgsMapCanvas *mapCanvas, QgsGeometry *geom, QgsVectorLayer *layer );
~QgsHighlight();
void setColor( const QColor & color );
2014-01-26 18:35:21 +01:00
/** Set width. Ignored in feature mode. */
void setWidth( int width );
protected:
virtual void paint( QPainter* p );
//! recalculates needed rectangle
void updateRect();
};