Skip to content

Commit

Permalink
QgisInterface: add meshMenu to iface.
Browse files Browse the repository at this point in the history
Fixes #55604
  • Loading branch information
lbartoletti authored and nyalldawson committed Dec 20, 2023
1 parent 2153d32 commit f009536
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/PyQt6/gui/auto_generated/qgisinterface.sip.in
Expand Up @@ -297,6 +297,11 @@ Returns a reference to the main window "Vector" menu.
virtual QMenu *webMenu() = 0;
%Docstring
Returns a reference to the main window "Web" menu.
%End

virtual QMenu *meshMenu() = 0;
%Docstring
Returns a reference to the main window "Mesh" menu.
%End

virtual QMenu *firstRightStandardMenu() = 0;
Expand Down
5 changes: 5 additions & 0 deletions python/gui/auto_generated/qgisinterface.sip.in
Expand Up @@ -297,6 +297,11 @@ Returns a reference to the main window "Vector" menu.
virtual QMenu *webMenu() = 0;
%Docstring
Returns a reference to the main window "Web" menu.
%End

virtual QMenu *meshMenu() = 0;
%Docstring
Returns a reference to the main window "Mesh" menu.
%End

virtual QMenu *firstRightStandardMenu() = 0;
Expand Down
1 change: 1 addition & 0 deletions src/app/qgisappinterface.cpp
Expand Up @@ -736,6 +736,7 @@ QMenu *QgisAppInterface::rasterMenu() { return qgis->rasterMenu(); }
QMenu *QgisAppInterface::vectorMenu() { return qgis->vectorMenu(); }
QMenu *QgisAppInterface::databaseMenu() { return qgis->databaseMenu(); }
QMenu *QgisAppInterface::webMenu() { return qgis->webMenu(); }
QMenu *QgisAppInterface::meshMenu() { return qgis->meshMenu(); }
QMenu *QgisAppInterface::firstRightStandardMenu() { return qgis->firstRightStandardMenu(); }
QMenu *QgisAppInterface::windowMenu() { return qgis->windowMenu(); }
QMenu *QgisAppInterface::helpMenu() { return qgis->helpMenu(); }
Expand Down
1 change: 1 addition & 0 deletions src/app/qgisappinterface.h
Expand Up @@ -182,6 +182,7 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
QMenu *vectorMenu() override;
QMenu *databaseMenu() override;
QMenu *webMenu() override;
QMenu *meshMenu() override;
QMenu *firstRightStandardMenu() override;
QMenu *windowMenu() override;
QMenu *helpMenu() override;
Expand Down
5 changes: 5 additions & 0 deletions src/gui/qgisinterface.h
Expand Up @@ -327,6 +327,11 @@ class GUI_EXPORT QgisInterface : public QObject
*/
virtual QMenu *webMenu() = 0;

/**
* Returns a reference to the main window "Mesh" menu.
*/
virtual QMenu *meshMenu() = 0;

/**
* Returns a reference to the right most standard menu, which is
* usually the last menu item before the "Help" menu.
Expand Down

0 comments on commit f009536

Please sign in to comment.