Skip to content
Permalink
Browse files

Add missing interface method for Data Source Manager toolbar

  • Loading branch information
wonder-sk committed Jul 23, 2018
1 parent a49b7a6 commit 6614d8964382714dbdc1be73a10454e0527d52e7
@@ -256,6 +256,13 @@ Returns a reference to the main window "File" toolbar.
virtual QToolBar *layerToolBar() = 0;
%Docstring
Returns a reference to the main window "Layer" toolbar.
%End

virtual QToolBar *dataSourceManagerToolBar() = 0;
%Docstring
Returns a reference to the main window "Data Source Manager" toolbar.

.. versionadded:: 3.4
%End

virtual QToolBar *mapNavToolToolBar() = 0;
@@ -574,6 +574,7 @@ QMenu *QgisAppInterface::helpMenu() { return qgis->helpMenu(); }

QToolBar *QgisAppInterface::fileToolBar() { return qgis->fileToolBar(); }
QToolBar *QgisAppInterface::layerToolBar() { return qgis->layerToolBar(); }
QToolBar *QgisAppInterface::dataSourceManagerToolBar() { return qgis->dataSourceManagerToolBar(); }
QToolBar *QgisAppInterface::mapNavToolToolBar() { return qgis->mapNavToolToolBar(); }
QToolBar *QgisAppInterface::digitizeToolBar() { return qgis->digitizeToolBar(); }
QToolBar *QgisAppInterface::advancedDigitizeToolBar() { return qgis->advancedDigitizeToolBar(); }
@@ -373,6 +373,7 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
//! ToolBars
QToolBar *fileToolBar() override;
QToolBar *layerToolBar() override;
QToolBar *dataSourceManagerToolBar() override;
QToolBar *mapNavToolToolBar() override;
QToolBar *digitizeToolBar() override;
QToolBar *advancedDigitizeToolBar() override;
@@ -282,6 +282,12 @@ class GUI_EXPORT QgisInterface : public QObject
*/
virtual QToolBar *layerToolBar() = 0;

/**
* Returns a reference to the main window "Data Source Manager" toolbar.
* \since QGIS 3.4
*/
virtual QToolBar *dataSourceManagerToolBar() = 0;

/**
* Returns a reference to the main window "Map Navigation" toolbar.
*/

0 comments on commit 6614d89

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