mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Assigned keyboard shortcuts to toggle sidebars (#4583)
* Assigned keyboard shortcuts to toggle various sidebars and panels * Swapped Trends and Activities in the View-menu to match the order in the view sidebar
This commit is contained in:
committed by
GitHub
parent
5ef6080ef5
commit
08e5540ddb
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user