Skip to content

Commit f9de02c

Browse files
author
telwertowski
committedMar 21, 2006
Add ellipsis to all menu items which prompt for more information in order to perform the action. Rename "QGIS Options" to "Options" so that Qt/Mac recognizes this as the options action.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5072 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed
 

‎src/gui/qgisapp.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void QgisApp::createActions()
365365
//
366366
// File Menu Related Items
367367
//
368-
mActionFileNew= new QAction(QIcon(myIconPath+"/mActionFileNew.png"), tr("&New Project..."), this);
368+
mActionFileNew= new QAction(QIcon(myIconPath+"/mActionFileNew.png"), tr("&New Project"), this);
369369
mActionFileNew->setShortcut(tr("Ctrl+N"));
370370
mActionFileNew->setStatusTip(tr("New Project"));
371371
connect(mActionFileNew, SIGNAL(triggered()), this, SLOT(fileNew()));
@@ -385,17 +385,17 @@ void QgisApp::createActions()
385385
mActionFileSaveAs->setStatusTip(tr("Save Project under a new name"));
386386
connect(mActionFileSaveAs, SIGNAL(triggered()), this, SLOT(fileSaveAs()));
387387
//
388-
mActionFilePrint= new QAction(QIcon(myIconPath+"/mActionFilePrint.png"), tr("&Print"), this);
388+
mActionFilePrint= new QAction(QIcon(myIconPath+"/mActionFilePrint.png"), tr("&Print..."), this);
389389
mActionFilePrint->setShortcut(tr("Ctrl+P"));
390390
mActionFilePrint->setStatusTip(tr("Print"));
391391
connect(mActionFilePrint, SIGNAL(triggered()), this, SLOT(filePrint()));
392392
//
393-
mActionSaveMapAsImage= new QAction(QIcon(myIconPath+"/mActionSaveMapAsImage.png"), tr("Save as Image"), this);
393+
mActionSaveMapAsImage= new QAction(QIcon(myIconPath+"/mActionSaveMapAsImage.png"), tr("Save as Image..."), this);
394394
mActionSaveMapAsImage->setShortcut(tr("I"));
395395
mActionSaveMapAsImage->setStatusTip(tr("Save map as image"));
396396
connect(mActionSaveMapAsImage, SIGNAL(triggered()), this, SLOT(saveMapAsImage()));
397397
//
398-
mActionExportMapServer= new QAction(QIcon(myIconPath+"/mActionExportMapServer.png"), tr("Export to MapServer Map"), this);
398+
mActionExportMapServer= new QAction(QIcon(myIconPath+"/mActionExportMapServer.png"), tr("Export to MapServer Map..."), this);
399399
mActionExportMapServer->setShortcut(tr("M"));
400400
mActionExportMapServer->setStatusTip(tr("Export as MapServer .map file"));
401401
connect(mActionExportMapServer, SIGNAL(triggered()), this, SLOT(exportMapServer()));
@@ -407,17 +407,17 @@ void QgisApp::createActions()
407407
//
408408
// Layer Menu Related Items
409409
//
410-
mActionAddNonDbLayer= new QAction(QIcon(myIconPath+"/mActionAddNonDbLayer.png"), tr("Add a Vector Layer"), this);
410+
mActionAddNonDbLayer= new QAction(QIcon(myIconPath+"/mActionAddNonDbLayer.png"), tr("Add a Vector Layer..."), this);
411411
mActionAddNonDbLayer->setShortcut(tr("V"));
412412
mActionAddNonDbLayer->setStatusTip(tr("Add a Vector Layer"));
413413
connect(mActionAddNonDbLayer, SIGNAL(triggered()), this, SLOT(addLayer()));
414414
//
415-
mActionAddRasterLayer= new QAction(QIcon(myIconPath+"/mActionAddRasterLayer.png"), tr("Add a Raster Layer"), this);
415+
mActionAddRasterLayer= new QAction(QIcon(myIconPath+"/mActionAddRasterLayer.png"), tr("Add a Raster Layer..."), this);
416416
mActionAddRasterLayer->setShortcut(tr("R"));
417417
mActionAddRasterLayer->setStatusTip(tr("Add a Raster Layer"));
418418
assert(connect(mActionAddRasterLayer, SIGNAL(triggered()), this, SLOT(addRasterLayer())));
419419
//
420-
mActionAddLayer= new QAction(QIcon(myIconPath+"/mActionAddLayer.png"), tr("Add a PostGIS Layer"), this);
420+
mActionAddLayer= new QAction(QIcon(myIconPath+"/mActionAddLayer.png"), tr("Add a PostGIS Layer..."), this);
421421
mActionAddLayer->setShortcut(tr("D"));
422422
mActionAddLayer->setStatusTip(tr("Add a PostGIS Layer"));
423423
//#ifdef HAVE_POSTGRESQL
@@ -429,7 +429,7 @@ void QgisApp::createActions()
429429
//#endif
430430
assert(connect(mActionAddLayer, SIGNAL(triggered()), this, SLOT(addDatabaseLayer())));
431431
//
432-
mActionNewVectorLayer= new QAction(QIcon(myIconPath+"/mActionNewVectorLayer.png"), tr("New Vector Layer"), this);
432+
mActionNewVectorLayer= new QAction(QIcon(myIconPath+"/mActionNewVectorLayer.png"), tr("New Vector Layer..."), this);
433433
mActionNewVectorLayer->setShortcut(tr("N"));
434434
mActionNewVectorLayer->setStatusTip(tr("Create a New Vector Layer"));
435435
connect(mActionNewVectorLayer, SIGNAL(triggered()), this, SLOT(newVectorLayer()));
@@ -461,17 +461,17 @@ void QgisApp::createActions()
461461
//
462462
// Settings Menu Related Items
463463
//
464-
mActionProjectProperties= new QAction(QIcon(myIconPath+"/mActionProjectProperties.png"), tr("Project Properties"), this);
464+
mActionProjectProperties= new QAction(QIcon(myIconPath+"/mActionProjectProperties.png"), tr("Project Properties..."), this);
465465
mActionProjectProperties->setShortcut(tr("Alt+P"));
466466
mActionProjectProperties->setStatusTip(tr("Set project properties"));
467467
connect(mActionProjectProperties, SIGNAL(triggered()), this, SLOT(projectProperties()));
468468
//
469-
mActionOptions= new QAction(QIcon(myIconPath+"/mActionOptions.png"), tr("QGIS Options"), this);
469+
mActionOptions= new QAction(QIcon(myIconPath+"/mActionOptions.png"), tr("Options..."), this);
470470
mActionOptions->setShortcut(tr("Alt+O"));
471471
mActionOptions->setStatusTip(tr("Change various QGIS options"));
472472
connect(mActionOptions, SIGNAL(triggered()), this, SLOT(options()));
473473
//
474-
mActionCustomProjection= new QAction(QIcon(myIconPath+"/mActionCustomProjection.png"), tr("Custom Projection"), this);
474+
mActionCustomProjection= new QAction(QIcon(myIconPath+"/mActionCustomProjection.png"), tr("Custom Projection..."), this);
475475
mActionCustomProjection->setShortcut(tr("Alt+I"));
476476
mActionCustomProjection->setStatusTip(tr("Manage custom projections"));
477477
connect(mActionCustomProjection, SIGNAL(triggered()), this, SLOT(customProjection()));
@@ -566,17 +566,17 @@ void QgisApp::createActions()
566566
mActionMeasureArea->setStatusTip(tr("Measure an Area"));
567567
connect(mActionMeasureArea, SIGNAL(triggered()), this, SLOT(measureArea()));
568568
//
569-
mActionShowBookmarks= new QAction(QIcon(myIconPath+"/mActionShowBookmarks.png"), tr("Show Bookmark"), this);
569+
mActionShowBookmarks= new QAction(QIcon(myIconPath+"/mActionShowBookmarks.png"), tr("Show Bookmarks"), this);
570570
mActionShowBookmarks->setShortcut(tr("Ctrl+B"));
571571
mActionShowBookmarks->setStatusTip(tr("Show Bookmarks"));
572572
connect(mActionShowBookmarks, SIGNAL(triggered()), this, SLOT(showBookmarks()));
573573
//
574-
mActionNewBookmark= new QAction(QIcon(myIconPath+"/mActionNewBookmark.png"), tr("New Bookmark"), this);
574+
mActionNewBookmark= new QAction(QIcon(myIconPath+"/mActionNewBookmark.png"), tr("New Bookmark..."), this);
575575
mActionNewBookmark->setShortcut(tr("Alt+B"));
576576
mActionNewBookmark->setStatusTip(tr("New Bookmark"));
577577
connect(mActionNewBookmark, SIGNAL(triggered()), this, SLOT(newBookmark()));
578578
//
579-
mActionAddWmsLayer= new QAction(QIcon(myIconPath+"/mActionAddWmsLayer.png"), tr("Add Wms Layer"), this);
579+
mActionAddWmsLayer= new QAction(QIcon(myIconPath+"/mActionAddWmsLayer.png"), tr("Add WMS Layer..."), this);
580580
mActionAddWmsLayer->setShortcut(tr("Ctrl+M"));
581581
mActionAddWmsLayer->setStatusTip(tr("Add Web Mapping Server Layer"));
582582
connect(mActionAddWmsLayer, SIGNAL(triggered()), this, SLOT(addWmsLayer()));
@@ -588,7 +588,7 @@ void QgisApp::createActions()
588588
//
589589
// Plugin Menu Related Items
590590
//
591-
mActionShowPluginManager= new QAction(QIcon(myIconPath+"/mActionShowPluginManager.png"), tr("Plugin Manager"), this);
591+
mActionShowPluginManager= new QAction(QIcon(myIconPath+"/mActionShowPluginManager.png"), tr("Plugin Manager..."), this);
592592
mActionShowPluginManager->setShortcut(tr("Ctrl+P"));
593593
mActionShowPluginManager->setStatusTip(tr("Open the plugin manager"));
594594
connect(mActionShowPluginManager, SIGNAL(triggered()), this, SLOT(showPluginManager()));

0 commit comments

Comments
 (0)
Please sign in to comment.