diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index d1dde01af..8fc423b97 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -613,25 +613,25 @@ MainWindow::MainWindow(const QDir &home) #else viewMenu->addAction(tr("Toggle Full Screen"), this, SLOT(toggleFullScreen())); #endif - showhideViewbar = viewMenu->addAction(tr("Show View Sidebar"), this, SLOT(showViewbar(bool))); + showhideViewbar = viewMenu->addAction(tr("Show View Sidebar"), this, SLOT(showViewbar(bool)), QKeySequence("F2")); showhideViewbar->setCheckable(true); showhideViewbar->setChecked(true); - showhideSidebar = viewMenu->addAction(tr("Show Left Sidebar"), this, SLOT(showSidebar(bool))); + showhideSidebar = viewMenu->addAction(tr("Show Left Sidebar"), this, SLOT(showSidebar(bool)), QKeySequence("F3")); showhideSidebar->setCheckable(true); showhideSidebar->setChecked(true); - showhideLowbar = viewMenu->addAction(tr("Show Compare Pane"), this, SLOT(showLowbar(bool))); + showhideLowbar = viewMenu->addAction(tr("Show Compare Pane"), this, SLOT(showLowbar(bool)), QKeySequence("F4")); showhideLowbar->setCheckable(true); showhideLowbar->setChecked(false); - showhideToolbar = viewMenu->addAction(tr("Show Toolbar"), this, SLOT(showToolbar(bool))); + showhideToolbar = viewMenu->addAction(tr("Show Toolbar"), this, SLOT(showToolbar(bool)), QKeySequence("F5")); showhideToolbar->setCheckable(true); showhideToolbar->setChecked(true); - showhideTabbar = viewMenu->addAction(tr("Show Athlete Tabs"), this, SLOT(showTabbar(bool))); + showhideTabbar = viewMenu->addAction(tr("Show Athlete Tabs"), this, SLOT(showTabbar(bool)), QKeySequence("F6")); showhideTabbar->setCheckable(true); showhideTabbar->setChecked(true); viewMenu->addSeparator(); - viewMenu->addAction(tr("Activities"), this, SLOT(selectAnalysis())); viewMenu->addAction(tr("Trends"), this, SLOT(selectTrends())); + viewMenu->addAction(tr("Activities"), this, SLOT(selectAnalysis())); viewMenu->addAction(tr("Train"), this, SLOT(selectTrain())); viewMenu->addSeparator(); viewMenu->addAction(tr("Import Perspective..."), this, SLOT(importPerspective()));