This is similar to projectRead(); plug-ins might want to be notified that they're in a new project. Yes, projectRead() could have been overloaded to be used in the case of new projects instead. However, it's probably more semantically correct to have an entirely separate signal for when this happens.

This is useful for plug-ins that store properties with project files. A plug-in can connect to this signal. When it is emitted, the plug-in knows to then check the project properties for any relevant state.

Added in v1.6

virtual QMenu* QgisInterface::rasterMenu

(

)

pure virtualslot

virtual QToolBar* QgisInterface::rasterToolBar

(

)

pure virtualslot

Note

added in 1.7

virtual bool QgisInterface::registerMainWindowAction

(

QAction *

action,

QString

defaultShortcut

)

pure virtualslot

Register action to the shortcuts manager so its shortcut can be changed in GUI.

Note

added in 1.2

virtual void QgisInterface::removeAddLayerAction

(

QAction *

action

)

pure virtualslot

Remove "add layer" action from layer menu.

Note

added in 1.7

virtual void QgisInterface::removeDatabaseToolBarIcon

(

QAction *

qAction

)

pure virtualslot

Remove an action (icon) from the Database toolbar.

Note

added in 2.0

virtual void QgisInterface::removeDockWidget

(

QDockWidget *

dockwidget

)

pure virtualslot

Remove specified dock widget from main window (doesn't delete it).

Note

Added in 1.1

virtual void QgisInterface::removePluginDatabaseMenu

(

QString

name,

QAction *

action

)

pure virtualslot

Remove action from the Database menu.

Note

added in 1.7

virtual void QgisInterface::removePluginMenu

(

QString

name,

QAction *

action

)

pure virtualslot

Remove action from the plugins menu.

virtual void QgisInterface::removePluginRasterMenu

(

QString

name,

QAction *

action

)

pure virtualslot

Remove action from the Raster menu.

Note

added in 2.0

virtual void QgisInterface::removePluginVectorMenu

(

QString

name,

QAction *

action

)

pure virtualslot

Remove action from the Vector menu.

Note

added in 2.0

virtual void QgisInterface::removePluginWebMenu

(

QString

name,

QAction *

action

)

pure virtualslot

Remove action from the Web menu.

Note

added in 2.0

virtual void QgisInterface::removeRasterToolBarIcon

(

QAction *

qAction

)

pure virtualslot

Remove an action (icon) from the Raster toolbar.

Note

added in 2.0

virtual void QgisInterface::removeToolBarIcon

(

QAction *

qAction

)

pure virtualslot

Remove an action (icon) from the plugin toolbar.

virtual void QgisInterface::removeVectorToolBarIcon

(

QAction *

qAction

)

pure virtualslot

Remove an action (icon) from the Vector toolbar.

Note

added in 2.0

virtual void QgisInterface::removeWebToolBarIcon

(

QAction *

qAction

)

pure virtualslot

Remove an action (icon) from the Web toolbar.

Note

added in 2.0

virtual void QgisInterface::removeWindow

(

QAction *

action

)

pure virtualslot

Remove window from Window menu.

Calling this is necessary only for windows which are hidden rather than deleted when closed.