QGIS/python/gui/qgshighlight.sip
Juergen E. Fischer 99f998aa30 - add missing sip bindings
- port widgets_tree.py to QtXml and update customization.xml (fixes #5752 and  #8054)
2013-06-22 19:41:34 +02:00

19 lines
406 B
Plaintext

class QgsHighlight : public QgsMapCanvasItem
{
%TypeHeaderCode
#include <qgshighlight.h>
%End
public:
QgsHighlight( QgsMapCanvas *mapCanvas, QgsGeometry *geom, QgsVectorLayer *layer );
~QgsHighlight();
void setColor( const QColor & color );
void setWidth( int width );
protected:
virtual void paint( QPainter* p );
//! recalculates needed rectangle
void updateRect();
};