MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

EffectWidget Class Reference

(Phonon::EffectWidget)

The EffectWidget class provides a widget to control the parameters of an Effect. More...

 #include <Phonon/EffectWidget>

Inherits: QWidget.

This class was introduced in Qt 4.4.

Additional Inherited Members

  • 58 properties inherited from QWidget
  • 1 property inherited from QObject
  • 217 public functions inherited from QWidget
  • 29 public functions inherited from QObject
  • 13 public functions inherited from QPaintDevice
  • 19 public slots inherited from QWidget
  • 1 public slot inherited from QObject
  • 1 signal inherited from QWidget
  • 1 signal inherited from QObject
  • 4 static public members inherited from QWidget
  • 5 static public members inherited from QObject
  • 37 protected functions inherited from QWidget
  • 7 protected functions inherited from QObject
  • 1 protected function inherited from QPaintDevice
  • 1 protected slot inherited from QWidget

Detailed Description

The EffectWidget class provides a widget to control the parameters of an Effect.

The 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 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 show() at all.

See also Effect, BackendCapabilities, EffectDescription, and Phonon Module.