comparison widgets/PropertyBox.cpp @ 1179:7c31eb5bc77d levelpanwidget

Switch to level-pan tool button in property box
author Chris Cannam
date Tue, 06 Dec 2016 09:20:10 +0000
parents ed99d432dc57
children 6a6a63506e3f
comparison
equal deleted inserted replaced
1178:ed99d432dc57 1179:7c31eb5bc77d
26 26
27 #include "AudioDial.h" 27 #include "AudioDial.h"
28 #include "LEDButton.h" 28 #include "LEDButton.h"
29 #include "IconLoader.h" 29 #include "IconLoader.h"
30 #include "LevelPanWidget.h" 30 #include "LevelPanWidget.h"
31 #include "LevelPanToolButton.h"
31 #include "WidgetScale.h" 32 #include "WidgetScale.h"
32 33
33 #include "NotifyingCheckBox.h" 34 #include "NotifyingCheckBox.h"
34 #include "NotifyingComboBox.h" 35 #include "NotifyingComboBox.h"
35 #include "NotifyingPushButton.h" 36 #include "NotifyingPushButton.h"
203 layout->addWidget(playParamButton); 204 layout->addWidget(playParamButton);
204 connect(playParamButton, SIGNAL(clicked()), 205 connect(playParamButton, SIGNAL(clicked()),
205 this, SLOT(editPlayParameters())); 206 this, SLOT(editPlayParameters()));
206 } 207 }
207 208
208 LevelPanWidget *levelPan = new LevelPanWidget; 209 LevelPanToolButton *levelPan = new LevelPanToolButton;
209 layout->addWidget(levelPan); 210 layout->addWidget(levelPan);
210 connect(levelPan, SIGNAL(levelChanged(float)), 211 connect(levelPan, SIGNAL(levelChanged(float)),
211 this, SLOT(playGainControlChanged(float))); 212 this, SLOT(playGainControlChanged(float)));
212 connect(levelPan, SIGNAL(panChanged(float)), 213 connect(levelPan, SIGNAL(panChanged(float)),
213 this, SLOT(playPanControlChanged(float))); 214 this, SLOT(playPanControlChanged(float)));