@@ -614,51 +614,51 @@ Take screenshots for user documentation
614
614
615
615
virtual void zoomFull() = 0;
616
616
%Docstring
617
- Zoom to full extent of map layers
617
+ Zooms to the full extent of all map layers.
618
618
%End
619
619
620
620
virtual void zoomToPrevious() = 0;
621
621
%Docstring
622
- Zoom to previous view extent
622
+ Zooms to the previous view extent.
623
623
%End
624
624
625
625
virtual void zoomToNext() = 0;
626
626
%Docstring
627
- Zoom to next view extent
627
+ Zooms to the next view extent.
628
628
%End
629
629
630
630
virtual void zoomToActiveLayer() = 0;
631
631
%Docstring
632
- Zoom to extent of the active layer
632
+ Zooms to extent of the active layer.
633
633
%End
634
634
635
635
virtual QgsVectorLayer *addVectorLayer( const QString &vectorLayerPath, const QString &baseName, const QString &providerKey ) = 0;
636
636
%Docstring
637
- Add a vector layer
637
+ Adds a vector layer to the current project.
638
638
%End
639
639
640
640
virtual QgsRasterLayer *addRasterLayer( const QString &rasterLayerPath, const QString &baseName = QString() ) = 0;
641
641
%Docstring
642
- Add a raster layer given a raster layer file name
642
+ Adds a raster layer to the current project, given a raster layer file name.
643
643
%End
644
644
645
645
virtual QgsRasterLayer *addRasterLayer( const QString &url, const QString &layerName, const QString &providerKey ) = 0;
646
646
%Docstring
647
- Add a WMS layer
647
+ Adds a raster layer to the current project, from the specified raster data provider.
648
648
%End
649
649
650
650
virtual QgsMeshLayer *addMeshLayer( const QString &url, const QString &baseName, const QString &providerKey ) = 0;
651
651
%Docstring
652
- Add a mesh layer
652
+ Adds a mesh layer to the current project.
653
653
%End
654
654
655
655
virtual bool addProject( const QString &project ) = 0;
656
656
%Docstring
657
- Add a project
657
+ Adds (opens) a project
658
658
%End
659
659
virtual void newProject( bool promptToSaveFlag = false ) = 0;
660
660
%Docstring
661
- Start a blank project
661
+ Starts a new blank project
662
662
%End
663
663
664
664
virtual void reloadConnections( ) = 0;
@@ -810,7 +810,7 @@ Add a toolbar
810
810
811
811
virtual void openMessageLog() = 0;
812
812
%Docstring
813
- Open the message log dock widget *
813
+ Opens the message log dock widget.
814
814
%End
815
815
816
816
virtual void addUserInputWidget( QWidget *widget ) = 0;
@@ -1065,7 +1065,8 @@ QGIS documentation, set useQgisDocDirectory to false.
1065
1065
1066
1066
virtual bool openFeatureForm( QgsVectorLayer *l, QgsFeature &f, bool updateFeatureOnly = false, bool showModal = true ) = 0;
1067
1067
%Docstring
1068
- Open feature form
1068
+ Open feature form.
1069
+ Returns true if dialog was accepted (if shown modal, true otherwise).
1069
1070
1070
1071
:param l: vector layer
1071
1072
:param f: feature to show/modify
0 commit comments