EffectWidget class provides a widget to control the parameters of an Effect.
EffectWidget class provides a widget, with which an effects parameters can be controlled. The widget does not have an API, and is constructed with the Phonon.Effect , of which parameters should be controlled.
Phonon::Effect *effect = new Phonon::Effect(effectDescription);
path.insertEffect(effect);
Phonon::EffectWidget *effectWidget = new Phonon::EffectWidget(effect);
effectWidget->show();
The following image shows an example of an effect widget.
Note that some audio effects do not have parameters, and the widget will then not PySide.QtGui.QWidget.show() at all.
另请参阅
Effect BackendCapabilities EffectDescription Phonon Module
| 参数: |
|
|---|
构造新 EffectWidget 为指定 effect and with the specified parent .