From 21625167f09ff1c8b74a7c9be1fb8fe8c35ab542 Mon Sep 17 00:00:00 2001 From: Yida Lin Date: Sat, 29 Jul 2017 15:23:24 -0400 Subject: [PATCH] Renamed as 'Keyboard and Mouse Shortcuts' --- src/gui_impl/commands/adapt_channel_view_gui_command.cpp | 2 +- src/gui_impl/dialogs/hotkey_dialog.cpp | 2 +- src/gui_impl/main_window.cpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui_impl/commands/adapt_channel_view_gui_command.cpp b/src/gui_impl/commands/adapt_channel_view_gui_command.cpp index bf64f134..8a23771a 100644 --- a/src/gui_impl/commands/adapt_channel_view_gui_command.cpp +++ b/src/gui_impl/commands/adapt_channel_view_gui_command.cpp @@ -25,7 +25,7 @@ QString const AdaptChannelViewGuiCommand::SET_AUTO_SCALE_MAX_TO_MAX_ = "Zero Lin QString const AdaptChannelViewGuiCommand::SET_AUTO_SCALE_MIN_TO_MAX_ = "Zero Line Fitted"; QString const AdaptChannelViewGuiCommand::ANIMATIONS_ = "Animations"; QString const AdaptChannelViewGuiCommand::SET_ANIMATION_DURATION_ = "Set Animation Duration"; -QString const AdaptChannelViewGuiCommand::HOTKEYS_ = "Hotkeys..."; +QString const AdaptChannelViewGuiCommand::HOTKEYS_ = "Keyboard and Mouse Shortcuts"; QStringList const AdaptChannelViewGuiCommand::ACTIONS_ = QStringList() << AdaptChannelViewGuiCommand::CHANNELS_ << AdaptChannelViewGuiCommand::SCALE_ALL_ << diff --git a/src/gui_impl/dialogs/hotkey_dialog.cpp b/src/gui_impl/dialogs/hotkey_dialog.cpp index f0150837..718766c1 100644 --- a/src/gui_impl/dialogs/hotkey_dialog.cpp +++ b/src/gui_impl/dialogs/hotkey_dialog.cpp @@ -12,7 +12,7 @@ HotkeyDialog::HotkeyDialog(QWidget *parent) : { ui->setupUi(this); resize(633, 744); - this->setWindowTitle(tr("Hotkeys")); + this->setWindowTitle(tr("Keyboard and Mouse Shortcuts")); #if defined(Q_OS_MACOS) QString ctrl = "Cmd"; diff --git a/src/gui_impl/main_window.cpp b/src/gui_impl/main_window.cpp index 74244ba1..a1422f89 100644 --- a/src/gui_impl/main_window.cpp +++ b/src/gui_impl/main_window.cpp @@ -105,7 +105,7 @@ void MainWindow::initToolBars() view_toolbar_->addAction(action("Zoom Out Vertical")); view_toolbar_->addAction(action("Zoom In Horizontal")); view_toolbar_->addAction(action("Zoom Out Horizontal")); - view_toolbar_->addAction(action("Hotkeys...")); + view_toolbar_->addAction(action("Keyboard and Mouse Shortcuts")); view_toolbar_views_menu_->addSeparator (); toggle_all_toolbars_ = new QAction (tr("Hide all Toolbars"), this); @@ -263,6 +263,7 @@ void MainWindow::initMenus (QSharedPointer application_conte help_menu_->addSeparator(); } help_menu_->addAction (action("About")); + help_menu_->addAction (action("Keyboard and Mouse Shortcuts")); } //-----------------------------------------------------------------------------