|
| virtual void | zoomFull ()=0 |
| | Zoom to full extent of map layers. More...
|
| |
| virtual void | zoomToPrevious ()=0 |
| | Zoom to previous view extent. More...
|
| |
| virtual void | zoomToNext ()=0 |
| | Zoom to next view extent. More...
|
| |
| virtual void | zoomToActiveLayer ()=0 |
| | Zoom to extent of the active layer. More...
|
| |
| virtual QgsVectorLayer * | addVectorLayer (QString vectorLayerPath, QString baseName, QString providerKey)=0 |
| | Add a vector layer. More...
|
| |
| virtual QgsRasterLayer * | addRasterLayer (QString rasterLayerPath, QString baseName=QString())=0 |
| | Add a raster layer given a raster layer file name. More...
|
| |
| virtual QgsRasterLayer * | addRasterLayer (const QString &url, const QString &layerName, const QString &providerKey)=0 |
| | Add a WMS layer. More...
|
| |
| virtual bool | addProject (QString theProject)=0 |
| | Add a project. More...
|
| |
| virtual void | newProject (bool thePromptToSaveFlag=false)=0 |
| | Start a blank project. More...
|
| |
| virtual QgsMapLayer * | activeLayer ()=0 |
| | Get pointer to the active layer (layer selected in the legend) More...
|
| |
| virtual bool | setActiveLayer (QgsMapLayer *)=0 |
| | Set the active layer (layer gets selected in the legend) returns true if the layer exists, false otherwise added in 1.4. More...
|
| |
| virtual int | addToolBarIcon (QAction *qAction)=0 |
| | Add an icon to the plugins toolbar. More...
|
| |
| virtual QAction * | addToolBarWidget (QWidget *widget)=0 |
| | Add a widget to the plugins toolbar. More...
|
| |
| virtual void | removeToolBarIcon (QAction *qAction)=0 |
| | Remove an action (icon) from the plugin toolbar. More...
|
| |
| virtual QAction * | addRasterToolBarWidget (QWidget *widget)=0 |
| | Add a widget to the raster toolbar. More...
|
| |
| virtual int | addRasterToolBarIcon (QAction *qAction)=0 |
| | Add an icon to the Raster toolbar. More...
|
| |
| virtual void | removeRasterToolBarIcon (QAction *qAction)=0 |
| | Remove an action (icon) from the Raster toolbar. More...
|
| |
| virtual int | addVectorToolBarIcon (QAction *qAction)=0 |
| | Add an icon to the Vector toolbar. More...
|
| |
| virtual QAction * | addVectorToolBarWidget (QWidget *widget)=0 |
| | Add a widget to the vector toolbar. More...
|
| |
| virtual void | removeVectorToolBarIcon (QAction *qAction)=0 |
| | Remove an action (icon) from the Vector toolbar. More...
|
| |
| virtual int | addDatabaseToolBarIcon (QAction *qAction)=0 |
| | Add an icon to the Database toolbar. More...
|
| |
| virtual QAction * | addDatabaseToolBarWidget (QWidget *widget)=0 |
| | Add a widget to the database toolbar. More...
|
| |
| virtual void | removeDatabaseToolBarIcon (QAction *qAction)=0 |
| | Remove an action (icon) from the Database toolbar. More...
|
| |
| virtual int | addWebToolBarIcon (QAction *qAction)=0 |
| | Add an icon to the Web toolbar. More...
|
| |
| virtual QAction * | addWebToolBarWidget (QWidget *widget)=0 |
| | Add a widget to the web toolbar. More...
|
| |
| virtual void | removeWebToolBarIcon (QAction *qAction)=0 |
| | Remove an action (icon) from the Web toolbar. More...
|
| |
| virtual QToolBar * | addToolBar (QString name)=0 |
| | Add toolbar with specified name. More...
|
| |
| virtual QgsMapCanvas * | mapCanvas ()=0 |
| | Return a pointer to the map canvas. More...
|
| |
| virtual QWidget * | mainWindow ()=0 |
| | Return a pointer to the main window (instance of QgisApp in case of QGIS) More...
|
| |
| virtual QgsMessageBar * | messageBar ()=0 |
| | Return the message bar of the main app. More...
|
| |
| virtual QList< QgsComposerView * > | activeComposers ()=0 |
| | Return mainwindows / composer views of running composer instances (currently only one) More...
|
| |
| virtual QgsComposerView * | createNewComposer (QString title=QString(""))=0 |
| | Create a new composer. More...
|
| |
| virtual QgsComposerView * | duplicateComposer (QgsComposerView *composerView, QString title=QString(""))=0 |
| | Duplicate an existing parent composer from composer view. More...
|
| |
| virtual void | deleteComposer (QgsComposerView *composerView)=0 |
| | Deletes parent composer of composer view, after closing composer window. More...
|
| |
| virtual QMap< QString, QVariant > | defaultStyleSheetOptions ()=0 |
| | Return changeable options built from settings and/or defaults. More...
|
| |
| virtual void | buildStyleSheet (const QMap< QString, QVariant > &opts)=0 |
| | Generate stylesheet. More...
|
| |
| virtual void | saveStyleSheetOptions (const QMap< QString, QVariant > &opts)=0 |
| | Save changed default option keys/values to user settings. More...
|
| |
| virtual QFont | defaultStyleSheetFont ()=0 |
| | Get reference font for initial qApp (may not be same as QgisApp) More...
|
| |
| virtual void | addPluginToMenu (QString name, QAction *action)=0 |
| | Add action to the plugins menu. More...
|
| |
| virtual void | removePluginMenu (QString name, QAction *action)=0 |
| | Remove action from the plugins menu. More...
|
| |
| virtual void | insertAddLayerAction (QAction *action)=0 |
| | Add "add layer" action to layer menu. More...
|
| |
| virtual void | removeAddLayerAction (QAction *action)=0 |
| | Remove "add layer" action from layer menu. More...
|
| |
| virtual void | addPluginToDatabaseMenu (QString name, QAction *action)=0 |
| | Add action to the Database menu. More...
|
| |
| virtual void | removePluginDatabaseMenu (QString name, QAction *action)=0 |
| | Remove action from the Database menu. More...
|
| |
| virtual void | addPluginToRasterMenu (QString name, QAction *action)=0 |
| | Add action to the Raster menu. More...
|
| |
| virtual void | removePluginRasterMenu (QString name, QAction *action)=0 |
| | Remove action from the Raster menu. More...
|
| |
| virtual void | addPluginToVectorMenu (QString name, QAction *action)=0 |
| | Add action to the Vector menu. More...
|
| |
| virtual void | removePluginVectorMenu (QString name, QAction *action)=0 |
| | Remove action from the Vector menu. More...
|
| |
| virtual void | addPluginToWebMenu (QString name, QAction *action)=0 |
| | Add action to the Web menu. More...
|
| |
| virtual void | removePluginWebMenu (QString name, QAction *action)=0 |
| | Remove action from the Web menu. More...
|
| |
| virtual void | addDockWidget (Qt::DockWidgetArea area, QDockWidget *dockwidget)=0 |
| | Add a dock widget to the main window. More...
|
| |
| virtual void | removeDockWidget (QDockWidget *dockwidget)=0 |
| | Remove specified dock widget from main window (doesn't delete it). More...
|
| |
| virtual void | showLayerProperties (QgsMapLayer *l)=0 |
| | open layer properties dialog More...
|
| |
| virtual void | showAttributeTable (QgsVectorLayer *l)=0 |
| | open attribute table dialog More...
|
| |
| virtual void | addWindow (QAction *action)=0 |
| | Add window to Window menu. More...
|
| |
| virtual void | removeWindow (QAction *action)=0 |
| | Remove window from Window menu. More...
|
| |
| virtual bool | registerMainWindowAction (QAction *action, QString defaultShortcut)=0 |
| | Register action to the shortcuts manager so its shortcut can be changed in GUI. More...
|
| |
| virtual bool | unregisterMainWindowAction (QAction *action)=0 |
| | Unregister a previously registered action. More...
|
| |
| virtual Q_DECL_DEPRECATED void | openURL (QString url, bool useQgisDocDirectory=true)=0 |
| | Open a url in the users browser. More...
|
| |
| virtual Q_DECL_DEPRECATED QMenu * | fileMenu ()=0 |
| | Accessors for inserting items into menus and toolbars. More...
|
| |
| virtual QMenu * | projectMenu ()=0 |
| |
| virtual QMenu * | editMenu ()=0 |
| |
| virtual QMenu * | viewMenu ()=0 |
| |
| virtual QMenu * | layerMenu ()=0 |
| |
| virtual QMenu * | newLayerMenu ()=0 |
| |
| virtual QMenu * | settingsMenu ()=0 |
| |
| virtual QMenu * | pluginMenu ()=0 |
| |
| virtual QMenu * | rasterMenu ()=0 |
| |
| virtual QMenu * | databaseMenu ()=0 |
| |
| virtual QMenu * | vectorMenu ()=0 |
| |
| virtual QMenu * | webMenu ()=0 |
| |
| virtual QMenu * | firstRightStandardMenu ()=0 |
| |
| virtual QMenu * | windowMenu ()=0 |
| |
| virtual QMenu * | helpMenu ()=0 |
| |
| virtual QToolBar * | fileToolBar ()=0 |
| | ToolBars. More...
|
| |
| virtual QToolBar * | layerToolBar ()=0 |
| |
| virtual QToolBar * | mapNavToolToolBar ()=0 |
| |
| virtual QToolBar * | digitizeToolBar ()=0 |
| |
| virtual QToolBar * | advancedDigitizeToolBar ()=0 |
| |
| virtual QToolBar * | attributesToolBar ()=0 |
| |
| virtual QToolBar * | pluginToolBar ()=0 |
| |
| virtual QToolBar * | helpToolBar ()=0 |
| |
| virtual QToolBar * | rasterToolBar ()=0 |
| |
| virtual QToolBar * | vectorToolBar ()=0 |
| |
| virtual QToolBar * | databaseToolBar ()=0 |
| |
| virtual QToolBar * | webToolBar ()=0 |
| |
| virtual QAction * | actionNewProject ()=0 |
| | Project menu actions. More...
|
| |
| virtual QAction * | actionOpenProject ()=0 |
| |
| virtual QAction * | actionSaveProject ()=0 |
| |
| virtual QAction * | actionSaveProjectAs ()=0 |
| |
| virtual QAction * | actionSaveMapAsImage ()=0 |
| |
| virtual QAction * | actionProjectProperties ()=0 |
| |
| virtual QAction * | actionPrintComposer ()=0 |
| |
| virtual QAction * | actionShowComposerManager ()=0 |
| |
| virtual QAction * | actionExit ()=0 |
| |
| virtual QAction * | actionCutFeatures ()=0 |
| | Edit menu actions. More...
|
| |
| virtual QAction * | actionCopyFeatures ()=0 |
| |
| virtual QAction * | actionPasteFeatures ()=0 |
| |
| virtual QAction * | actionAddFeature ()=0 |
| |
| virtual QAction * | actionDeleteSelected ()=0 |
| |
| virtual QAction * | actionMoveFeature ()=0 |
| |
| virtual QAction * | actionSplitFeatures ()=0 |
| |
| virtual QAction * | actionAddRing ()=0 |
| |
| virtual QAction * | actionAddPart ()=0 |
| |
| virtual QAction * | actionSimplifyFeature ()=0 |
| |
| virtual QAction * | actionDeleteRing ()=0 |
| |
| virtual QAction * | actionDeletePart ()=0 |
| |
| virtual QAction * | actionNodeTool ()=0 |
| |
| virtual QAction * | actionPan ()=0 |
| | View menu actions. More...
|
| |
| virtual QAction * | actionTouch ()=0 |
| |
| virtual QAction * | actionPanToSelected ()=0 |
| |
| virtual QAction * | actionZoomIn ()=0 |
| |
| virtual QAction * | actionZoomOut ()=0 |
| |
| virtual QAction * | actionSelect ()=0 |
| |
| virtual QAction * | actionSelectRectangle ()=0 |
| |
| virtual QAction * | actionSelectPolygon ()=0 |
| |
| virtual QAction * | actionSelectFreehand ()=0 |
| |
| virtual QAction * | actionSelectRadius ()=0 |
| |
| virtual QAction * | actionIdentify ()=0 |
| |
| virtual QAction * | actionMeasure ()=0 |
| |
| virtual QAction * | actionMeasureArea ()=0 |
| |
| virtual QAction * | actionZoomFullExtent ()=0 |
| |
| virtual QAction * | actionZoomToLayer ()=0 |
| |
| virtual QAction * | actionZoomToSelected ()=0 |
| |
| virtual QAction * | actionZoomLast ()=0 |
| |
| virtual QAction * | actionZoomActualSize ()=0 |
| |
| virtual QAction * | actionMapTips ()=0 |
| |
| virtual QAction * | actionNewBookmark ()=0 |
| |
| virtual QAction * | actionShowBookmarks ()=0 |
| |
| virtual QAction * | actionDraw ()=0 |
| |
| virtual QAction * | actionNewVectorLayer ()=0 |
| | Layer menu actions. More...
|
| |
| virtual QAction * | actionAddOgrLayer ()=0 |
| |
| virtual QAction * | actionAddRasterLayer ()=0 |
| |
| virtual QAction * | actionAddPgLayer ()=0 |
| |
| virtual QAction * | actionAddWmsLayer ()=0 |
| |
| virtual QAction * | actionCopyLayerStyle ()=0 |
| |
| virtual QAction * | actionPasteLayerStyle ()=0 |
| |
| virtual QAction * | actionOpenTable ()=0 |
| |
| virtual QAction * | actionOpenFieldCalculator ()=0 |
| |
| virtual QAction * | actionToggleEditing ()=0 |
| |
| virtual QAction * | actionSaveActiveLayerEdits ()=0 |
| |
| virtual QAction * | actionAllEdits ()=0 |
| |
| virtual QAction * | actionSaveEdits ()=0 |
| |
| virtual QAction * | actionSaveAllEdits ()=0 |
| |
| virtual QAction * | actionRollbackEdits ()=0 |
| |
| virtual QAction * | actionRollbackAllEdits ()=0 |
| |
| virtual QAction * | actionCancelEdits ()=0 |
| |
| virtual QAction * | actionCancelAllEdits ()=0 |
| |
| virtual QAction * | actionLayerSaveAs ()=0 |
| |
| virtual QAction * | actionLayerSelectionSaveAs ()=0 |
| |
| virtual QAction * | actionRemoveLayer ()=0 |
| |
| virtual QAction * | actionDuplicateLayer ()=0 |
| |
| virtual QAction * | actionLayerProperties ()=0 |
| |
| virtual QAction * | actionAddToOverview ()=0 |
| |
| virtual QAction * | actionAddAllToOverview ()=0 |
| |
| virtual QAction * | actionRemoveAllFromOverview ()=0 |
| |
| virtual QAction * | actionHideAllLayers ()=0 |
| |
| virtual QAction * | actionShowAllLayers ()=0 |
| |
| virtual QAction * | actionManagePlugins ()=0 |
| | Plugin menu actions. More...
|
| |
| virtual QAction * | actionPluginListSeparator ()=0 |
| |
| virtual QAction * | actionShowPythonDialog ()=0 |
| |
| virtual QAction * | actionToggleFullScreen ()=0 |
| | Settings menu actions. More...
|
| |
| virtual QAction * | actionOptions ()=0 |
| |
| virtual QAction * | actionCustomProjection ()=0 |
| |
| virtual QAction * | actionHelpContents ()=0 |
| | Help menu actions. More...
|
| |
| virtual QAction * | actionQgisHomePage ()=0 |
| |
| virtual QAction * | actionCheckQgisVersion ()=0 |
| |
| virtual QAction * | actionAbout ()=0 |
| |
| virtual bool | openFeatureForm (QgsVectorLayer *l, QgsFeature &f, bool updateFeatureOnly=false)=0 |
| | Open feature form. More...
|
| |
| virtual QDialog * | getFeatureForm (QgsVectorLayer *l, QgsFeature &f)=0 |
| |
| virtual void | preloadForm (QString uifile)=0 |
| |
| virtual QList< QgsMapLayer * > | editableLayers (bool modified=false) const =0 |
| | Return vector layers in edit mode. More...
|
| |
| virtual int | messageTimeout ()=0 |
| | Get timeout for timed messages: default of 5 seconds. More...
|
| |
QgisInterface Abstract base class defining interfaces exposed by QgisApp and made available to plugins.
Only functionality exposed by QgisInterface can be used in plugins. This interface has to be implemented with application specific details.
QGIS implements it in QgisAppInterface class, 3rd party applications could provide their own implementation to be able to use plugins.
Definition at line 62 of file qgisinterface.h.