1_shortcuts_tidy_alt_out.diff

balazovic-mailbox-sk -, 2006-04-08 11:30 AM

Download (6.46 KB)

View differences:

src/gui/qgisapp.cpp (working copy)
374 374
  connect(mActionFileOpen, SIGNAL(triggered()), this, SLOT(fileOpen()));
375 375
  //
376 376
  mActionFileSave= new QAction(QIcon(myIconPath+"/mActionFileSave.png"), tr("&Save Project"), this);
377
  mActionFileSave->setShortcut(tr("Ctrl+O"));
377
  mActionFileSave->setShortcut(tr("Ctrl+S"));
378 378
  mActionFileSave->setStatusTip(tr("Open a Project"));
379 379
  connect(mActionFileSave, SIGNAL(triggered()), this, SLOT(fileSave()));
380 380
  //
......
389 389
  connect(mActionFilePrint, SIGNAL(triggered()), this, SLOT(filePrint()));
390 390
  //
391 391
  mActionSaveMapAsImage= new QAction(QIcon(myIconPath+"/mActionSaveMapAsImage.png"), tr("Save as Image..."), this);
392
  mActionSaveMapAsImage->setShortcut(tr("I"));
392
  mActionSaveMapAsImage->setShortcut(tr("Ctrl+I"));
393 393
  mActionSaveMapAsImage->setStatusTip(tr("Save map as image"));
394 394
  connect(mActionSaveMapAsImage, SIGNAL(triggered()), this, SLOT(saveMapAsImage()));
395 395
  //
......
460 460
  // Settings Menu Related Items
461 461
  //
462 462
  mActionProjectProperties= new QAction(QIcon(myIconPath+"/mActionProjectProperties.png"), tr("Project Properties..."), this);
463
  mActionProjectProperties->setShortcut(tr("Alt+P"));
463
  mActionProjectProperties->setShortcut(tr("P"));
464 464
  mActionProjectProperties->setStatusTip(tr("Set project properties"));
465 465
  connect(mActionProjectProperties, SIGNAL(triggered()), this, SLOT(projectProperties()));
466 466
  //
467 467
  mActionOptions= new QAction(QIcon(myIconPath+"/mActionOptions.png"), tr("Options..."), this);
468
  mActionOptions->setShortcut(tr("Alt+O"));
468
  // mActionOptions->setShortcut(tr("Alt+O"));
469 469
  mActionOptions->setStatusTip(tr("Change various QGIS options"));
470 470
  connect(mActionOptions, SIGNAL(triggered()), this, SLOT(options()));
471 471
  //
472 472
  mActionCustomProjection= new QAction(QIcon(myIconPath+"/mActionCustomProjection.png"), tr("Custom Projection..."), this);
473
  mActionCustomProjection->setShortcut(tr("Alt+I"));
473
  // mActionCustomProjection->setShortcut(tr("Alt+I"));
474 474
  mActionCustomProjection->setStatusTip(tr("Manage custom projections"));
475 475
  connect(mActionCustomProjection, SIGNAL(triggered()), this, SLOT(customProjection()));
476 476
  //
......
487 487
  connect(mActionQgisHomePage, SIGNAL(triggered()), this, SLOT(helpQgisHomePage()));
488 488
  //
489 489
  mActionQgisSourceForgePage= new QAction(QIcon(myIconPath+"/mActionQgisSourceForgePage.png"), tr("Qgis Sourceforge"), this);
490
  mActionQgisSourceForgePage->setShortcut(tr("Alt+H"));
490
  // mActionQgisSourceForgePage->setShortcut(tr("Alt+H"));
491 491
  mActionQgisSourceForgePage->setStatusTip(tr("Visit QGIS SourceForge page"));
492 492
  connect(mActionQgisSourceForgePage, SIGNAL(triggered()), this, SLOT(helpQgisSourceForge()));
493 493
  //
......
507 507
  connect(mActionDraw, SIGNAL(triggered()), this, SLOT(refreshMapCanvas()));
508 508
  //
509 509
  mActionZoomIn= new QAction(QIcon(myIconPath+"/mActionZoomIn.png"), tr("Zoom In"), this);
510
  mActionZoomIn->setShortcut(tr("z"));
510
  mActionZoomIn->setShortcut(tr("Ctrl++"));
511 511
  mActionZoomIn->setStatusTip(tr("Zoom In"));
512 512
  connect(mActionZoomIn, SIGNAL(triggered()), this, SLOT(zoomIn()));
513 513
  //
514 514
  mActionZoomOut= new QAction(QIcon(myIconPath+"/mActionZoomOut.png"), tr("Zoom Out"), this);
515
  mActionZoomOut->setShortcut(tr("Z"));
515
  mActionZoomOut->setShortcut(tr("Ctrl+-"));
516 516
  mActionZoomOut->setStatusTip(tr("Zoom Out"));
517 517
  connect(mActionZoomOut, SIGNAL(triggered()), this, SLOT(zoomOut()));
518 518
  //
519 519
  mActionZoomFullExtent= new QAction(QIcon(myIconPath+"/mActionZoomFullExtent.png"), tr("Zoom Full"), this);
520
  mActionZoomFullExtent->setShortcut(tr("f"));
520
  mActionZoomFullExtent->setShortcut(tr("F"));
521 521
  mActionZoomFullExtent->setStatusTip(tr("Zoom to Full Extents"));
522 522
  connect(mActionZoomFullExtent, SIGNAL(triggered()), this, SLOT(zoomFull()));
523 523
  //
524 524
  mActionZoomToSelected= new QAction(QIcon(myIconPath+"/mActionZoomToSelected.png"), tr("Zoom To Selection"), this);
525
  mActionZoomToSelected->setShortcut(tr("F"));
525
  mActionZoomToSelected->setShortcut(tr("Ctrl+F"));
526 526
  mActionZoomToSelected->setStatusTip(tr("Zoom to selection"));
527 527
  connect(mActionZoomToSelected, SIGNAL(triggered()), this, SLOT(zoomToSelected()));
528 528
  //
......
560 560
  connect(mActionMeasure, SIGNAL(triggered()), this, SLOT(measure()));
561 561
  //
562 562
  mActionMeasureArea= new QAction(QIcon(myIconPath+"/mActionMeasureArea.png"), tr("Measure Area"), this);
563
  mActionMeasureArea->setShortcut(tr("Alt+M"));
563
  mActionMeasureArea->setShortcut(tr("Ctrl+J"));
564 564
  mActionMeasureArea->setStatusTip(tr("Measure an Area"));
565 565
  connect(mActionMeasureArea, SIGNAL(triggered()), this, SLOT(measureArea()));
566 566
  //
567 567
  mActionShowBookmarks= new QAction(QIcon(myIconPath+"/mActionShowBookmarks.png"), tr("Show Bookmarks"), this);
568
  mActionShowBookmarks->setShortcut(tr("Ctrl+B"));
568
  mActionShowBookmarks->setShortcut(tr("B"));
569 569
  mActionShowBookmarks->setStatusTip(tr("Show Bookmarks"));
570 570
  connect(mActionShowBookmarks, SIGNAL(triggered()), this, SLOT(showBookmarks()));
571 571
  //
572 572
  mActionNewBookmark= new QAction(QIcon(myIconPath+"/mActionNewBookmark.png"), tr("New Bookmark..."), this);
573
  mActionNewBookmark->setShortcut(tr("Alt+B"));
573
  mActionNewBookmark->setShortcut(tr("Ctrl+B"));
574 574
  mActionNewBookmark->setStatusTip(tr("New Bookmark"));
575 575
  connect(mActionNewBookmark, SIGNAL(triggered()), this, SLOT(newBookmark()));
576 576
  //
577 577
  mActionAddWmsLayer= new QAction(QIcon(myIconPath+"/mActionAddWmsLayer.png"), tr("Add WMS Layer..."), this);
578
  mActionAddWmsLayer->setShortcut(tr("Ctrl+M"));
578
  mActionAddWmsLayer->setShortcut(tr("W"));
579 579
  mActionAddWmsLayer->setStatusTip(tr("Add Web Mapping Server Layer"));
580 580
  connect(mActionAddWmsLayer, SIGNAL(triggered()), this, SLOT(addWmsLayer()));
581 581
  //
582 582
  mActionInOverview= new QAction(QIcon(myIconPath+"/mActionInOverview.png"), tr("In Overview"), this);
583
  mActionInOverview->setShortcut(tr("Alt+O"));
583
  mActionInOverview->setShortcut(tr("O"));
584 584
  mActionInOverview->setStatusTip(tr("Add current layer to overview map"));
585 585
  connect(mActionInOverview, SIGNAL(triggered()), this, SLOT(inOverview()));
586 586
  //
587 587
  // Plugin Menu Related Items
588 588
  //
589 589
  mActionShowPluginManager= new QAction(QIcon(myIconPath+"/mActionShowPluginManager.png"), tr("Plugin Manager..."), this);
590
  mActionShowPluginManager->setShortcut(tr("Ctrl+P"));
590
  // mActionShowPluginManager->setShortcut(tr("Ctrl+P"));
591 591
  mActionShowPluginManager->setStatusTip(tr("Open the plugin manager"));
592 592
  connect(mActionShowPluginManager, SIGNAL(triggered()), this, SLOT(showPluginManager()));
593 593
  //