Skip to content
Permalink
Browse files

more doc

  • Loading branch information
3nids committed Oct 4, 2018
1 parent 2b4de28 commit 046f915c2494beb9da63b4677563b267b4acdca9
Showing with 11 additions and 3 deletions.
  1. +3 −1 python/gui/auto_generated/qgisinterface.sip.in
  2. +5 −1 src/app/qgisapp.h
  3. +3 −1 src/gui/qgisinterface.h
@@ -602,7 +602,9 @@ status bar (do not use the native Qt statusBar() method).

virtual void takeAppScreenShots( const QString &saveDirectory, const int categories = 0 );
%Docstring
Take screenshots for the user documentation
Take screenshots for user documentation
@param saveDirectory path were the screenshots will be saved
@param categories an int as a flag value of QgsAppScreenShots.Categories

.. versionadded:: 3.4
%End
@@ -696,7 +696,11 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
//! Returns pointer to the identify map tool - used by identify tool in 3D view
QgsMapToolIdentifyAction *identifyMapTool() const { return mMapTools.mIdentify; }

//! Take screenshots for user documentation
/**
* Take screenshots for user documentation
* @param saveDirectory path were the screenshots will be saved
* @param categories an int as a flag value of QgsAppScreenShots::Categories
*/
void takeAppScreenShots( const QString &saveDirectory, const int categories = 0 );

public slots:
@@ -529,7 +529,9 @@ class GUI_EXPORT QgisInterface : public QObject
virtual QgsStatusBar *statusBarIface() = 0;

/**
* Take screenshots for the user documentation
* Take screenshots for user documentation
* @param saveDirectory path were the screenshots will be saved
* @param categories an int as a flag value of QgsAppScreenShots::Categories
* \since QGIS 3.4
*/
virtual void takeAppScreenShots( const QString &saveDirectory, const int categories = 0 ) {Q_UNUSED( saveDirectory ); Q_UNUSED( categories );}

0 comments on commit 046f915

Please sign in to comment.
You can’t perform that action at this time.