Class Rubberband
Inherits the following classes: RubberbandShape
Public Properties inherited from RubberbandShape
See RubberbandShape
| Type | Name |
|---|---|
| property QColor | color Color of the rubberband. |
| property bool | freeze When set to TRUE, changes to the linked rubber band or vertex model as well as map settings will be ignored and the rubber band shape data will be left untouched. |
| property Qgis::GeometryType | geometryType Geometry type used to render the rubber band (if not provided or set to null geometry, the type provided by the rubber band or vertex model will be used) |
| property qreal | lineWidth Line width of the rubberband. |
| property QgsQuickMapSettings * | mapSettings |
| property RubberbandModel * | model |
| property QColor | outlineColor Color of the rubberband outline. |
| property QList< QPolygonF > | polylines List of polylines representing the rubber band. |
| property Qgis::GeometryType | polylinesType The geometry type associated to the polylines. |
| property VertexModel * | vertexModel |
Public Signals inherited from RubberbandShape
See RubberbandShape
| Type | Name |
|---|---|
| signal void | colorChanged Color of the rubberband. |
| signal void | freezeChanged When set to TRUE, changes to the linked rubber band or vertex model as well as map settings will be ignored and the rubber band shape data will be left untouched. |
| signal void | geometryTypeChanged Geometry type used to render the rubber band (if not provided or set to null geometry, the type provided by the rubber band or vertex model will be used) |
| signal void | lineWidthChanged Line width of the rubberband. |
| signal void | mapSettingsChanged |
| signal void | modelChanged |
| signal void | outlineColorChanged Color of the rubberband outline. |
| signal void | polylinesChanged List of polylines representing the rubber band. |
| signal void | polylinesTypeChanged The geometry type associated to the polylines. |
| signal void | vertexModelChanged |
Public Functions inherited from RubberbandShape
See RubberbandShape
| Type | Name |
|---|---|
| RubberbandShape (QQuickItem * parent=nullptr) |
|
| QColor | color () const Color of the rubberband. |
| bool | freeze () const When set to TRUE, changes to the linked rubber band or vertex model as well as map settings will be ignored and the rubber band shape data will be left untouched. |
| Qgis::GeometryType | geometryType () const Geometry type used to render the rubber band (if not provided or set to null geometry, the type provided by the rubber band or vertex model will be used) |
| float | lineWidth () const Line width of the rubberband. |
| QgsQuickMapSettings * | mapSettings () const |
| RubberbandModel * | model () const |
| QColor | outlineColor () const Color of the rubberband outline. |
| QList< QPolygonF > | polylines () const List of polylines representing the rubber band. |
| Qgis::GeometryType | polylinesType () const The geometry type associated to the polylines. |
| void | setColor (const QColor & color) Color of the rubberband. |
| void | setFreeze (bool freeze) When set to TRUE, changes to the linked rubber band or vertex model as well as map settings will be ignored and the rubber band shape data will be left untouched. |
| void | setGeometryType (const Qgis::GeometryType geometryType) Geometry type used to render the rubber band (if not provided or set to null geometry, the type provided by the rubber band or vertex model will be used) |
| void | setLineWidth (float width) Line width of the rubberband. |
| void | setMapSettings (QgsQuickMapSettings * mapSettings) |
| void | setModel (RubberbandModel * model) |
| void | setOutlineColor (const QColor & color) Color of the rubberband outline. |
| void | setVertexModel (VertexModel * vertexModel) |
| VertexModel * | vertexModel () const |
The documentation for this class was generated from the following file src/qml/Rubberband.qml