@@ -694,6 +694,13 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
694
694
// ! Returns pointer to the identify map tool - used by identify tool in 3D view
695
695
QgsMapToolIdentifyAction *identifyMapTool () const { return mMapTools .mIdentify ; }
696
696
697
+ /* *
698
+ * Take screenshots for user documentation
699
+ * @param saveDirectory path were the screenshots will be saved
700
+ * @param categories an int as a flag value of QgsAppScreenShots::Categories
701
+ */
702
+ void takeAppScreenShots ( const QString &saveDirectory, const int categories = 0 );
703
+
697
704
public slots:
698
705
// ! save current vector layer
699
706
void saveAsFile ( QgsMapLayer *layer = nullptr , bool onlySelected = false );
@@ -1967,6 +1974,9 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
1967
1974
// ! Populates project "load from" / "save to" menu based on project storages (when the menu is about to be shown)
1968
1975
void populateProjectStorageMenu ( QMenu *menu, bool saving );
1969
1976
1977
+ // ! Create the option dialog
1978
+ QgsOptions *createOptionsDialog ( QWidget *parent = nullptr );
1979
+
1970
1980
QgisAppStyleSheet *mStyleSheetBuilder = nullptr ;
1971
1981
1972
1982
// actions for menus and toolbars -----------------
@@ -2139,7 +2149,6 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
2139
2149
2140
2150
// ! interface to QgisApp for plugins
2141
2151
QgisAppInterface *mQgisInterface = nullptr ;
2142
- friend class QgisAppInterface ;
2143
2152
2144
2153
QSplashScreen *mSplash = nullptr ;
2145
2154
// ! list of recently opened/saved project files
@@ -2305,7 +2314,13 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
2305
2314
// ! True if we are blocking the activeLayerChanged signal from being emitted
2306
2315
bool mBlockActiveLayerChanged = false ;
2307
2316
2317
+ std::unique_ptr<QgsGeometryValidationService> mGeometryValidationService ;
2318
+ QgsGeometryValidationModel *mGeometryValidationModel = nullptr ;
2319
+ QgsGeometryValidationDock *mGeometryValidationDock = nullptr ;
2320
+
2308
2321
friend class TestQgisAppPython ;
2322
+ friend class QgisAppInterface ;
2323
+ friend class QgsAppScreenShots ;
2309
2324
};
2310
2325
2311
2326
#ifdef ANDROID
0 commit comments