Mercurial > hg > easaier-soundaccess
comparison sv/main/MainWindow.cpp @ 276:a9af42a93073
New property box for time stretching
some labels updated
author | benoitrigolleau |
---|---|
date | Wed, 15 Oct 2008 16:18:18 +0000 |
parents | 0c8385c5a22e |
children | 8bdfbd9ad418 |
comparison
equal
deleted
inserted
replaced
275:acfbbd2fea47 | 276:a9af42a93073 |
---|---|
298 | 298 |
299 m_toolBox = new AdvancedToolBox(); | 299 m_toolBox = new AdvancedToolBox(); |
300 m_toolBox->addItem("Layers", new QWidget); | 300 m_toolBox->addItem("Layers", new QWidget); |
301 | 301 |
302 m_filterPropertyStack = new RealTimeFilterPropertyStack(); | 302 m_filterPropertyStack = new RealTimeFilterPropertyStack(); |
303 m_toolBox->addItem("Real-time filters",m_filterPropertyStack); | 303 m_toolBox->addItem("Real-time Audio Tools",m_filterPropertyStack); |
304 | 304 |
305 connect(m_filterPropertyStack, SIGNAL(contextHelpChanged(const QString &)), | 305 connect(m_filterPropertyStack, SIGNAL(contextHelpChanged(const QString &)), |
306 this, SLOT(contextHelpChanged(const QString &))); | 306 this, SLOT(contextHelpChanged(const QString &))); |
307 | 307 |
308 /******** only for logo ****/ | 308 /******** only for logo ****/ |
5536 m_infoWidget->displayAudioSourceInfo(info); | 5536 m_infoWidget->displayAudioSourceInfo(info); |
5537 m_relMediaWidget->reset(); | 5537 m_relMediaWidget->reset(); |
5538 } | 5538 } |
5539 | 5539 |
5540 m_qtabwidget->setCurrentIndex(Info); | 5540 m_qtabwidget->setCurrentIndex(Info); |
5541 emit (addAudioSourceInfo(info)); | |
5541 } | 5542 } |
5542 | 5543 |
5543 void MainWindow::queryDatabase() | 5544 void MainWindow::queryDatabase() |
5544 { | 5545 { |
5545 QString themeName = sender()->objectName(); | 5546 QString themeName = sender()->objectName(); |
5585 } | 5586 } |
5586 | 5587 |
5587 void MainWindow::setSDLInitSize(int w, int h){ | 5588 void MainWindow::setSDLInitSize(int w, int h){ |
5588 m_sdlWidget->setInitSize(w,h); | 5589 m_sdlWidget->setInitSize(w,h); |
5589 } | 5590 } |
5591 | |
5590 void MainWindow::audioFileLoaded() | 5592 void MainWindow::audioFileLoaded() |
5591 { | 5593 { |
5592 if (m_curSender) | 5594 if (m_curSender) |
5593 { | 5595 { |
5594 m_curSender->blockSignals(false); | 5596 m_curSender->blockSignals(false); |
5611 | 5613 |
5612 size_t MainWindow::getMainModelSampleRate() | 5614 size_t MainWindow::getMainModelSampleRate() |
5613 { | 5615 { |
5614 return getMainModel()->getSampleRate(); | 5616 return getMainModel()->getSampleRate(); |
5615 } | 5617 } |
5618 | |
5619 void MainWindow::createNewResultItem(){ | |
5620 m_resultsWidget->newResult(); | |
5621 } | |
5622 | |
5623 void MainWindow::addInfoIntoResultItem(QString curBindingName,QString str){ | |
5624 m_resultsWidget->addInfo(curBindingName, str); | |
5625 } | |
5626 | |
5627 void MainWindow::saveCurrentResultItem(){ | |
5628 m_resultsWidget->saveCurResult(); | |
5629 } | |
5630 | |
5631 void MainWindow::displayResultList(){ | |
5632 m_resultsWidget->displayResult(); | |
5633 } | |
5634 | |
5635 Document* MainWindow::getDocument(){ | |
5636 return m_document; | |
5637 } |