We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc3749 commit ec2f5c9Copy full SHA for ec2f5c9
src/core/qgsvectorlayer.h
@@ -153,6 +153,12 @@ struct CORE_EXPORT QgsVectorJoinInfo
153
* The QgsVectorLayer provides a common interface to the different data types. It also
154
* manages editing transactions.
155
*
156
+ * Sample usage of the QgsVectorLayer class:
157
+ *
158
+ * \code
159
+ * QString uri = "point?crs=epsg:4326&field=id:integer";
160
+ * QgsVectorLayer *scratchLayer = new QgsVectorLayer(uri, "Scratch point layer", "memory");
161
+ * \endcode
162
163
* The main data providers supported by QGis are listed below.
164
0 commit comments