• PySide 模块
  • PySide.phonon
  • 内容表

    上一话题

    Phonon.SeekSlider

    下一话题

    PySide 教程

    Phonon.EffectWidget

    详细描述

    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.

    ../../_images/effectwidget.png

    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

    class PySide.phonon.Phonon. EffectWidget ( effect [ , parent=None ] )
    参数:

    构造新 EffectWidget 为指定 effect and with the specified parent .