Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 429:a9141963b580 alignment_view
Connect up alignmentComplete signal
author | Chris Cannam |
---|---|
date | Fri, 21 Nov 2014 13:31:15 +0000 |
parents | a67245dce0d4 |
children | d9d132c0e240 |
comparison
equal
deleted
inserted
replaced
428:b23db4cef02f | 429:a9141963b580 |
---|---|
2254 this, SLOT(modelRegenerationWarning(QString, QString, QString))); | 2254 this, SLOT(modelRegenerationWarning(QString, QString, QString))); |
2255 connect(m_document, SIGNAL(modelGenerationFailed(QString, QString)), | 2255 connect(m_document, SIGNAL(modelGenerationFailed(QString, QString)), |
2256 this, SLOT(modelGenerationFailed(QString, QString))); | 2256 this, SLOT(modelGenerationFailed(QString, QString))); |
2257 connect(m_document, SIGNAL(modelRegenerationWarning(QString, QString, QString)), | 2257 connect(m_document, SIGNAL(modelRegenerationWarning(QString, QString, QString)), |
2258 this, SLOT(modelRegenerationWarning(QString, QString, QString))); | 2258 this, SLOT(modelRegenerationWarning(QString, QString, QString))); |
2259 connect(m_document, SIGNAL(alignmentComplete(AlignmentModel *)), | |
2260 this, SLOT(alignmentComplete(AlignmentModel *))); | |
2259 connect(m_document, SIGNAL(alignmentFailed(QString)), | 2261 connect(m_document, SIGNAL(alignmentFailed(QString)), |
2260 this, SLOT(alignmentFailed(QString))); | 2262 this, SLOT(alignmentFailed(QString))); |
2261 | 2263 |
2262 emit replacedDocument(); | 2264 emit replacedDocument(); |
2263 } | 2265 } |
3396 | 3398 |
3397 updateMenuStates(); | 3399 updateMenuStates(); |
3398 } | 3400 } |
3399 | 3401 |
3400 void | 3402 void |
3403 MainWindowBase::alignmentComplete(AlignmentModel *model) | |
3404 { | |
3405 cerr << "MainWindowBase::alignmentComplete(" << model << ")" << endl; | |
3406 } | |
3407 | |
3408 void | |
3401 MainWindowBase::pollOSC() | 3409 MainWindowBase::pollOSC() |
3402 { | 3410 { |
3403 if (!m_oscQueue || m_oscQueue->isEmpty()) return; | 3411 if (!m_oscQueue || m_oscQueue->isEmpty()) return; |
3404 SVDEBUG << "MainWindowBase::pollOSC: have " << m_oscQueue->getMessagesAvailable() << " messages" << endl; | 3412 SVDEBUG << "MainWindowBase::pollOSC: have " << m_oscQueue->getMessagesAvailable() << " messages" << endl; |
3405 | 3413 |