@@ -122,10 +122,7 @@ QToolBar* QgisAppInterface::addToolBar( QString name )
122122{
123123 return qgis->addToolBar ( name );
124124}
125- QToolBar * QgisAppInterface::fileToolBar ()
126- {
127- return qgis->fileToolBar ();
128- }
125+
129126void QgisAppInterface::openURL ( QString url, bool useQgisDocDirectory )
130127{
131128 qgis->openURL ( url, useQgisDocDirectory );
@@ -153,3 +150,122 @@ void QgisAppInterface::refreshLegend( QgsMapLayer *l )
153150 qgis->legend ()->refreshLayerSymbology ( l->getLayerID () );
154151 }
155152}
153+
154+ void QgisAppInterface::addWindow ( QAction *action ) { qgis->addWindow ( action ); }
155+ void QgisAppInterface::removeWindow ( QAction *action ) { qgis->removeWindow ( action ); }
156+
157+ // ! Menus
158+ QMenu *QgisAppInterface::fileMenu () { return qgis->fileMenu (); }
159+ QMenu *QgisAppInterface::editMenu () { return qgis->editMenu (); }
160+ QMenu *QgisAppInterface::viewMenu () { return qgis->viewMenu (); }
161+ QMenu *QgisAppInterface::layerMenu () { return qgis->layerMenu (); }
162+ QMenu *QgisAppInterface::settingsMenu () { return qgis->settingsMenu (); }
163+ QMenu *QgisAppInterface::pluginMenu () { return qgis->pluginMenu (); }
164+ QMenu *QgisAppInterface::firstRightStandardMenu () { return qgis->firstRightStandardMenu (); }
165+ QMenu *QgisAppInterface::windowMenu () { return qgis->windowMenu (); }
166+ QMenu *QgisAppInterface::helpMenu () { return qgis->helpMenu (); }
167+
168+ // ! ToolBars
169+ QToolBar *QgisAppInterface::fileToolBar () { return qgis->fileToolBar (); }
170+ QToolBar *QgisAppInterface::layerToolBar () { return qgis->layerToolBar (); }
171+ QToolBar *QgisAppInterface::mapNavToolToolBar () { return qgis->mapNavToolToolBar (); }
172+ QToolBar *QgisAppInterface::digitizeToolBar () { return qgis->digitizeToolBar (); }
173+ QToolBar *QgisAppInterface::attributesToolBar () { return qgis->attributesToolBar (); }
174+ QToolBar *QgisAppInterface::pluginToolBar () { return qgis->pluginToolBar (); }
175+ QToolBar *QgisAppInterface::helpToolBar () { return qgis->helpToolBar (); }
176+
177+ // ! File menu actions
178+ QAction *QgisAppInterface::actionNewProject () { return qgis->actionNewProject (); }
179+ QAction *QgisAppInterface::actionOpenProject () { return qgis->actionOpenProject (); }
180+ QAction *QgisAppInterface::actionFileSeparator1 () { return qgis->actionFileSeparator1 (); }
181+ QAction *QgisAppInterface::actionSaveProject () { return qgis->actionSaveProject (); }
182+ QAction *QgisAppInterface::actionSaveProjectAs () { return qgis->actionSaveProjectAs (); }
183+ QAction *QgisAppInterface::actionSaveMapAsImage () { return qgis->actionSaveMapAsImage (); }
184+ QAction *QgisAppInterface::actionFileSeparator2 () { return qgis->actionFileSeparator2 (); }
185+ QAction *QgisAppInterface::actionProjectProperties () { return qgis->actionProjectProperties (); }
186+ QAction *QgisAppInterface::actionFileSeparator3 () { return qgis->actionFileSeparator3 (); }
187+ QAction *QgisAppInterface::actionPrintComposer () { return qgis->actionPrintComposer (); }
188+ QAction *QgisAppInterface::actionFileSeparator4 () { return qgis->actionFileSeparator4 (); }
189+ QAction *QgisAppInterface::actionExit () { return qgis->actionExit (); }
190+
191+ // ! Edit menu actions
192+ QAction *QgisAppInterface::actionCutFeatures () { return qgis->actionCutFeatures (); }
193+ QAction *QgisAppInterface::actionCopyFeatures () { return qgis->actionCopyFeatures (); }
194+ QAction *QgisAppInterface::actionPasteFeatures () { return qgis->actionPasteFeatures (); }
195+ QAction *QgisAppInterface::actionEditSeparator1 () { return qgis->actionEditSeparator1 (); }
196+ QAction *QgisAppInterface::actionCapturePoint () { return qgis->actionCapturePoint (); }
197+ QAction *QgisAppInterface::actionCaptureLine () { return qgis->actionCaptureLine (); }
198+ QAction *QgisAppInterface::actionCapturePologon () { return qgis->actionCapturePologon (); }
199+ QAction *QgisAppInterface::actionDeleteSelected () { return qgis->actionDeleteSelected (); }
200+ QAction *QgisAppInterface::actionMoveFeature () { return qgis->actionMoveFeature (); }
201+ QAction *QgisAppInterface::actionSplitFeatures () { return qgis->actionSplitFeatures (); }
202+ QAction *QgisAppInterface::actionAddVertex () { return qgis->actionAddVertex (); }
203+ QAction *QgisAppInterface::actionDelerteVertex () { return qgis->actionDelerteVertex (); }
204+ QAction *QgisAppInterface::actioMoveVertex () { return qgis->actioMoveVertex (); }
205+ QAction *QgisAppInterface::actionAddRing () { return qgis->actionAddRing (); }
206+ QAction *QgisAppInterface::actionAddIsland () { return qgis->actionAddIsland (); }
207+ QAction *QgisAppInterface::actionEditSeparator2 () { return qgis->actionEditSeparator2 (); }
208+
209+ // ! View menu actions
210+ QAction *QgisAppInterface::actionPan () { return qgis->actionPan (); }
211+ QAction *QgisAppInterface::actionZoomIn () { return qgis->actionZoomIn (); }
212+ QAction *QgisAppInterface::actionZoomOut () { return qgis->actionZoomOut (); }
213+ QAction *QgisAppInterface::actionSelect () { return qgis->actionSelect (); }
214+ QAction *QgisAppInterface::actionIdentify () { return qgis->actionIdentify (); }
215+ QAction *QgisAppInterface::actionMeasure () { return qgis->actionMeasure (); }
216+ QAction *QgisAppInterface::actionMeasureArea () { return qgis->actionMeasureArea (); }
217+ QAction *QgisAppInterface::actionViewSeparator1 () { return qgis->actionViewSeparator1 (); }
218+ QAction *QgisAppInterface::actionZoomFullExtent () { return qgis->actionZoomFullExtent (); }
219+ QAction *QgisAppInterface::actionZoomToLayer () { return qgis->actionZoomToLayer (); }
220+ QAction *QgisAppInterface::actionZoomToSelected () { return qgis->actionZoomToSelected (); }
221+ QAction *QgisAppInterface::actionZoomLast () { return qgis->actionZoomLast (); }
222+ QAction *QgisAppInterface::actionZoomActualSize () { return qgis->actionZoomActualSize (); }
223+ QAction *QgisAppInterface::actionViewSeparator2 () { return qgis->actionViewSeparator2 (); }
224+ QAction *QgisAppInterface::actionMapTips () { return qgis->actionMapTips (); }
225+ QAction *QgisAppInterface::actionNewBookmark () { return qgis->actionNewBookmark (); }
226+ QAction *QgisAppInterface::actionShowBookmarks () { return qgis->actionShowBookmarks (); }
227+ QAction *QgisAppInterface::actionDraw () { return qgis->actionDraw (); }
228+ QAction *QgisAppInterface::actionViewSeparator3 () { return qgis->actionViewSeparator3 (); }
229+
230+ // ! Layer menu actions
231+ QAction *QgisAppInterface::actionNewVectorLayer () { return qgis->actionNewVectorLayer (); }
232+ QAction *QgisAppInterface::actionAddOgrLayer () { return qgis->actionAddOgrLayer (); }
233+ QAction *QgisAppInterface::actionAddRasterLayer () { return qgis->actionAddRasterLayer (); }
234+ QAction *QgisAppInterface::actionAddPgLayer () { return qgis->actionAddPgLayer (); }
235+ QAction *QgisAppInterface::actionAddWmsLayer () { return qgis->actionAddWmsLayer (); }
236+ QAction *QgisAppInterface::actionLayerSeparator1 () { return qgis->actionLayerSeparator1 (); }
237+ QAction *QgisAppInterface::actionOpenTable () { return qgis->actionOpenTable (); }
238+ QAction *QgisAppInterface::actionToggleEditing () { return qgis->actionToggleEditing (); }
239+ QAction *QgisAppInterface::actionLayerSaveAs () { return qgis->actionLayerSaveAs (); }
240+ QAction *QgisAppInterface::actionLayerSelectionSaveAs () { return qgis->actionLayerSelectionSaveAs (); }
241+ QAction *QgisAppInterface::actionRemoveLayer () { return qgis->actionRemoveLayer (); }
242+ QAction *QgisAppInterface::actionLayerProperties () { return qgis->actionLayerProperties (); }
243+ QAction *QgisAppInterface::actionLayerSeparator2 () { return qgis->actionLayerSeparator2 (); }
244+ QAction *QgisAppInterface::actionAddToOverview () { return qgis->actionAddToOverview (); }
245+ QAction *QgisAppInterface::actionAddAllToOverview () { return qgis->actionAddAllToOverview (); }
246+ QAction *QgisAppInterface::actionRemoveAllFromOverview () { return qgis->actionRemoveAllFromOverview (); }
247+ QAction *QgisAppInterface::actionLayerSeparator3 () { return qgis->actionLayerSeparator3 (); }
248+ QAction *QgisAppInterface::actionHideAllLayers () { return qgis->actionHideAllLayers (); }
249+ QAction *QgisAppInterface::actionShowAllLayers () { return qgis->actionShowAllLayers (); }
250+
251+ // ! Plugin menu actions
252+ QAction *QgisAppInterface::actionManagePlugins () { return qgis->actionManagePlugins (); }
253+ QAction *QgisAppInterface::actionPluginSeparator1 () { return qgis->actionPluginSeparator1 (); }
254+ QAction *QgisAppInterface::actionPluginListSeparator () { return qgis->actionPluginListSeparator (); }
255+ QAction *QgisAppInterface::actionPluginSeparator2 () { return qgis->actionPluginSeparator2 (); }
256+ QAction *QgisAppInterface::actionPluginPythonSeparator () { return qgis->actionPluginPythonSeparator (); }
257+ QAction *QgisAppInterface::actionShowPythonDialog () { return qgis->actionShowPythonDialog (); }
258+
259+ // ! Settings menu actions
260+ QAction *QgisAppInterface::actionToggleFullScreen () { return qgis->actionToggleFullScreen (); }
261+ QAction *QgisAppInterface::actionSettingsSeparator1 () { return qgis->actionSettingsSeparator1 (); }
262+ QAction *QgisAppInterface::actionOptions () { return qgis->actionOptions (); }
263+ QAction *QgisAppInterface::actionCustomProjection () { return qgis->actionCustomProjection (); }
264+
265+ // ! Help menu actions
266+ QAction *QgisAppInterface::actionHelpContents () { return qgis->actionHelpContents (); }
267+ QAction *QgisAppInterface::actionHelpSeparator1 () { return qgis->actionHelpSeparator1 (); }
268+ QAction *QgisAppInterface::actionQgisHomePage () { return qgis->actionQgisHomePage (); }
269+ QAction *QgisAppInterface::actionCheckQgisVersion () { return qgis->actionCheckQgisVersion (); }
270+ QAction *QgisAppInterface::actionHelpSeparator2 () { return qgis->actionHelpSeparator2 (); }
271+ QAction *QgisAppInterface::actionAbout () { return qgis->actionAbout (); }
0 commit comments