diff 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
line wrap: on
line diff
--- a/sv/main/MainWindow.cpp	Thu Jul 03 10:17:46 2008 +0000
+++ b/sv/main/MainWindow.cpp	Wed Oct 15 16:18:18 2008 +0000
@@ -300,7 +300,7 @@
 	m_toolBox->addItem("Layers", new QWidget);
 	
 	m_filterPropertyStack = new RealTimeFilterPropertyStack();
-	m_toolBox->addItem("Real-time filters",m_filterPropertyStack);
+	m_toolBox->addItem("Real-time Audio Tools",m_filterPropertyStack);
 	
 	connect(m_filterPropertyStack, SIGNAL(contextHelpChanged(const QString &)),
             this, SLOT(contextHelpChanged(const QString &)));
@@ -5538,6 +5538,7 @@
 	}
 
 	m_qtabwidget->setCurrentIndex(Info);
+	emit (addAudioSourceInfo(info));
 }
 
 void MainWindow::queryDatabase()
@@ -5587,6 +5588,7 @@
 void MainWindow::setSDLInitSize(int w, int h){
 	m_sdlWidget->setInitSize(w,h);
 }
+
 void MainWindow::audioFileLoaded()
 {
 	if (m_curSender)
@@ -5613,3 +5615,23 @@
 {
 	return getMainModel()->getSampleRate();
 }
+
+void MainWindow::createNewResultItem(){
+	m_resultsWidget->newResult();
+}
+
+void MainWindow::addInfoIntoResultItem(QString curBindingName,QString str){
+	m_resultsWidget->addInfo(curBindingName, str);
+}
+
+void MainWindow::saveCurrentResultItem(){
+	m_resultsWidget->saveCurResult();
+}
+
+void MainWindow::displayResultList(){
+	m_resultsWidget->displayResult();
+}
+
+Document* MainWindow::getDocument(){
+	return m_document;
+}
\ No newline at end of file