comparison main/MainWindow.cpp @ 286:0662104e6605

* Add some informative labels to transform finder
author Chris Cannam
date Wed, 19 Nov 2008 14:55:17 +0000
parents b07566f7ee84
children 0842fc8a0db0
comparison
equal deleted inserted replaced
285:b07566f7ee84 286:0662104e6605
1220 m_transformActionsReverse.clear(); 1220 m_transformActionsReverse.clear();
1221 m_transformsMenu->clear(); 1221 m_transformsMenu->clear();
1222 } else { 1222 } else {
1223 m_transformsMenu = menuBar()->addMenu(tr("&Transform")); 1223 m_transformsMenu = menuBar()->addMenu(tr("&Transform"));
1224 m_transformsMenu->setTearOffEnabled(true); 1224 m_transformsMenu->setTearOffEnabled(true);
1225 m_transformsMenu->setSeparatorsCollapsible(true);
1225 } 1226 }
1226 1227
1227 TransformList transforms = 1228 TransformList transforms =
1228 TransformFactory::getInstance()->getAllTransformDescriptions(); 1229 TransformFactory::getInstance()->getAllTransformDescriptions();
1229 1230
1648 connect(m_playSource, SIGNAL(playStatusChanged(bool)), 1649 connect(m_playSource, SIGNAL(playStatusChanged(bool)),
1649 m_playAction, SLOT(setChecked(bool))); 1650 m_playAction, SLOT(setChecked(bool)));
1650 connect(this, SIGNAL(canPlay(bool)), m_playAction, SLOT(setEnabled(bool))); 1651 connect(this, SIGNAL(canPlay(bool)), m_playAction, SLOT(setEnabled(bool)));
1651 1652
1652 m_ffwdAction = toolbar->addAction(il.load("ffwd"), 1653 m_ffwdAction = toolbar->addAction(il.load("ffwd"),
1653 tr("Fast Forward")); 1654 tr("Fast Forward"));
1654 m_ffwdAction->setShortcut(tr("PgDown")); 1655 m_ffwdAction->setShortcut(tr("PgDown"));
1655 m_ffwdAction->setStatusTip(tr("Fast-forward to the next time instant or time ruler notch")); 1656 m_ffwdAction->setStatusTip(tr("Fast-forward to the next time instant or time ruler notch"));
1656 connect(m_ffwdAction, SIGNAL(triggered()), this, SLOT(ffwd())); 1657 connect(m_ffwdAction, SIGNAL(triggered()), this, SLOT(ffwd()));
1657 connect(this, SIGNAL(canFfwd(bool)), m_ffwdAction, SLOT(setEnabled(bool))); 1658 connect(this, SIGNAL(canFfwd(bool)), m_ffwdAction, SLOT(setEnabled(bool)));
1658 1659