changeset 388:5c4943eae166

Merge
author Chris Cannam
date Mon, 25 Oct 2010 11:15:47 +0200
parents 487d208fadb3 (diff) b19bef1bc3f1 (current diff)
children 61111a6a229f 065b61fe7cc3 d70890996156
files
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Mon Oct 18 13:58:27 2010 +0100
+++ b/main/MainWindow.cpp	Mon Oct 25 11:15:47 2010 +0200
@@ -839,7 +839,16 @@
     overlayGroup->addAction(action);
     m_keyReference->registerShortcut(action);
     menu->addAction(action);
-        
+
+    menu->addSeparator();
+
+    action = new QAction(tr("Show All Time Rulers"), this);
+    action->setShortcut(tr("#"));
+    action->setStatusTip(tr("Show or hide all time rulers"));
+    connect(action, SIGNAL(triggered()), this, SLOT(toggleTimeRulers()));
+    m_keyReference->registerShortcut(action);
+    menu->addAction(action);
+
     menu->addSeparator();
 
     action = new QAction(tr("Show &Zoom Wheels"), this);
@@ -850,7 +859,7 @@
     action->setChecked(m_viewManager->getZoomWheelsEnabled());
     m_keyReference->registerShortcut(action);
     menu->addAction(action);
-        
+
     action = new QAction(tr("Show Property Bo&xes"), this);
     action->setShortcut(tr("X"));
     action->setStatusTip(tr("Show the layer property boxes at the side of the main window"));