Mercurial > hg > easaier-soundaccess
comparison widgets/PropertyBox.cpp @ 233:628531da16ef
pass equalizer filter curve in float
author | lbajardsilogic |
---|---|
date | Thu, 06 Mar 2008 16:37:44 +0000 |
parents | 70b88fbbfb5c |
children | 7ab3e81f52d4 |
comparison
equal
deleted
inserted
replaced
232:70b88fbbfb5c | 233:628531da16ef |
---|---|
569 } | 569 } |
570 cb->blockSignals(false); | 570 cb->blockSignals(false); |
571 }*/ | 571 }*/ |
572 | 572 |
573 if (!have) { | 573 if (!have) { |
574 connect(cb, SIGNAL(filterChanged(QVector<int>&)), this, SLOT(propertyControllerChanged(QVector<int>&))); | 574 connect(cb, SIGNAL(filterChanged(QVector<float>&)), this, SLOT(propertyControllerChanged(QVector<float>&))); |
575 connect(m_container, SIGNAL(signalChanged(float*)), cb, SLOT(setCurve(float*))); | 575 connect(m_container, SIGNAL(signalChanged(float*)), cb, SLOT(setCurve(float*))); |
576 connect(m_container, SIGNAL(filterChanged(float*)), cb, SLOT(setFilter(float*))); | 576 connect(m_container, SIGNAL(filterChanged(float*)), cb, SLOT(setFilter(float*))); |
577 connect(cb, SIGNAL(mouseEntered()), this, SLOT(mouseEnteredWidget())); | 577 connect(cb, SIGNAL(mouseEntered()), this, SLOT(mouseEnteredWidget())); |
578 connect(cb, SIGNAL(mouseLeft()), this, SLOT(mouseLeftWidget())); | 578 connect(cb, SIGNAL(mouseLeft()), this, SLOT(mouseLeftWidget())); |
579 | 579 |
689 | 689 |
690 updateContextHelp(obj); | 690 updateContextHelp(obj); |
691 } | 691 } |
692 | 692 |
693 void | 693 void |
694 PropertyBox::propertyControllerChanged(QVector<int> &value) | 694 PropertyBox::propertyControllerChanged(QVector<float> &value) |
695 { | 695 { |
696 QObject *obj = sender(); | 696 QObject *obj = sender(); |
697 QString name = obj->objectName(); | 697 QString name = obj->objectName(); |
698 | 698 |
699 #ifdef DEBUG_PROPERTY_BOX | 699 #ifdef DEBUG_PROPERTY_BOX |