Mercurial > hg > svapp
changeset 429:a9141963b580 alignment_view
Connect up alignmentComplete signal
author | Chris Cannam |
---|---|
date | Fri, 21 Nov 2014 13:31:15 +0000 |
parents | b23db4cef02f |
children | adfb2948fabf |
files | framework/MainWindowBase.cpp framework/MainWindowBase.h |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Fri Nov 21 13:15:57 2014 +0000 +++ b/framework/MainWindowBase.cpp Fri Nov 21 13:31:15 2014 +0000 @@ -2256,6 +2256,8 @@ this, SLOT(modelGenerationFailed(QString, QString))); connect(m_document, SIGNAL(modelRegenerationWarning(QString, QString, QString)), this, SLOT(modelRegenerationWarning(QString, QString, QString))); + connect(m_document, SIGNAL(alignmentComplete(AlignmentModel *)), + this, SLOT(alignmentComplete(AlignmentModel *))); connect(m_document, SIGNAL(alignmentFailed(QString)), this, SLOT(alignmentFailed(QString))); @@ -3398,6 +3400,12 @@ } void +MainWindowBase::alignmentComplete(AlignmentModel *model) +{ + cerr << "MainWindowBase::alignmentComplete(" << model << ")" << endl; +} + +void MainWindowBase::pollOSC() { if (!m_oscQueue || m_oscQueue->isEmpty()) return;
--- a/framework/MainWindowBase.h Fri Nov 21 13:15:57 2014 +0000 +++ b/framework/MainWindowBase.h Fri Nov 21 13:31:15 2014 +0000 @@ -62,6 +62,7 @@ class ModelDataTableDialog; class QSignalMapper; class QShortcut; +class AlignmentModel; /** * The base class for the SV main window. This includes everything to @@ -267,6 +268,8 @@ virtual void modelGenerationWarning(QString, QString) = 0; virtual void modelRegenerationFailed(QString, QString, QString) = 0; virtual void modelRegenerationWarning(QString, QString, QString) = 0; + + virtual void alignmentComplete(AlignmentModel *); virtual void alignmentFailed(QString) = 0; virtual void rightButtonMenuRequested(Pane *, QPoint point) = 0;