Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 302:2fe08e403a9b
* Add vestigial Activity Log
author | Chris Cannam |
---|---|
date | Tue, 24 Feb 2009 14:01:42 +0000 |
parents | f68506fccb62 |
children | 5d691489a84f |
line wrap: on
line diff
--- a/main/MainWindow.cpp Mon Feb 23 22:28:24 2009 +0000 +++ b/main/MainWindow.cpp Tue Feb 24 14:01:42 2009 +0000 @@ -49,6 +49,7 @@ #include "widgets/KeyReference.h" #include "widgets/TransformFinder.h" #include "widgets/LabelCounterInputDialog.h" +#include "widgets/ActivityLog.h" #include "audioio/AudioCallbackPlaySource.h" #include "audioio/AudioCallbackPlayTarget.h" #include "audioio/AudioTargetFactory.h" @@ -146,6 +147,7 @@ m_playControlsWidth(0), m_preferencesDialog(0), m_layerTreeDialog(0), + m_activityLog(new ActivityLog()), m_keyReference(new KeyReference()) { Profiler profiler("MainWindow::MainWindow"); @@ -270,6 +272,14 @@ statusBar(); newSession(); + + connect(m_viewManager, SIGNAL(activity(QString)), + m_activityLog, SLOT(activityHappened(QString))); + connect(m_playSource, SIGNAL(activity(QString)), + m_activityLog, SLOT(activityHappened(QString))); + connect(CommandHistory::getInstance(), SIGNAL(activity(QString)), + m_activityLog, SLOT(activityHappened(QString))); + m_activityLog->show(); TransformFactory::getInstance()->startPopulationThread(); }