svgui  1.9
PluginParameterBox Class Reference

#include <PluginParameterBox.h>

Inheritance diagram for PluginParameterBox:
Collaboration diagram for PluginParameterBox:

Classes

struct  ParamRec
 

Signals

void pluginConfigurationChanged (QString)
 

Public Member Functions

 PluginParameterBox (Vamp::PluginBase *, QWidget *parent=0)
 
 ~PluginParameterBox ()
 
Vamp::PluginBase * getPlugin ()
 

Protected Slots

void dialChanged (int)
 
void spinBoxChanged (double)
 
void checkBoxChanged (int)
 
void programComboChanged (const QString &)
 

Protected Member Functions

void populate ()
 
void updateProgramCombo ()
 

Protected Attributes

QGridLayout * m_layout
 
Vamp::PluginBase * m_plugin
 
QComboBox * m_programCombo
 
std::map< QString, ParamRecm_params
 
std::map< QString, QString > m_nameMap
 
Vamp::PluginBase::ProgramList m_programs
 

Detailed Description

Definition at line 30 of file PluginParameterBox.h.

Constructor & Destructor Documentation

◆ PluginParameterBox()

PluginParameterBox::PluginParameterBox ( Vamp::PluginBase *  plugin,
QWidget *  parent = 0 
)

Definition at line 37 of file PluginParameterBox.cpp.

References m_layout, and populate().

◆ ~PluginParameterBox()

PluginParameterBox::~PluginParameterBox ( )

Definition at line 47 of file PluginParameterBox.cpp.

Member Function Documentation

◆ getPlugin()

Vamp::PluginBase* PluginParameterBox::getPlugin ( )
inline

Definition at line 38 of file PluginParameterBox.h.

References m_plugin.

◆ pluginConfigurationChanged

void PluginParameterBox::pluginConfigurationChanged ( QString  )
signal

◆ dialChanged

void PluginParameterBox::dialChanged ( int  ival)
protectedslot

◆ spinBoxChanged

void PluginParameterBox::spinBoxChanged ( double  value)
protectedslot

◆ checkBoxChanged

void PluginParameterBox::checkBoxChanged ( int  state)
protectedslot

Definition at line 282 of file PluginParameterBox.cpp.

References m_nameMap, m_params, m_plugin, pluginConfigurationChanged(), and updateProgramCombo().

Referenced by populate().

◆ programComboChanged

void PluginParameterBox::programComboChanged ( const QString &  newProgram)
protectedslot

Definition at line 367 of file PluginParameterBox.cpp.

References m_params, m_plugin, and pluginConfigurationChanged().

Referenced by populate().

◆ populate()

◆ updateProgramCombo()

void PluginParameterBox::updateProgramCombo ( )
protected

Definition at line 417 of file PluginParameterBox.cpp.

References m_plugin, m_programCombo, and m_programs.

Referenced by checkBoxChanged(), dialChanged(), and spinBoxChanged().

Member Data Documentation

◆ m_layout

QGridLayout* PluginParameterBox::m_layout
protected

Definition at line 53 of file PluginParameterBox.h.

Referenced by PluginParameterBox(), and populate().

◆ m_plugin

Vamp::PluginBase* PluginParameterBox::m_plugin
protected

◆ m_programCombo

QComboBox* PluginParameterBox::m_programCombo
protected

Definition at line 64 of file PluginParameterBox.h.

Referenced by populate(), and updateProgramCombo().

◆ m_params

std::map<QString, ParamRec> PluginParameterBox::m_params
protected

◆ m_nameMap

std::map<QString, QString> PluginParameterBox::m_nameMap
protected

Definition at line 67 of file PluginParameterBox.h.

Referenced by checkBoxChanged(), dialChanged(), populate(), and spinBoxChanged().

◆ m_programs

Vamp::PluginBase::ProgramList PluginParameterBox::m_programs
protected

Definition at line 68 of file PluginParameterBox.h.

Referenced by populate(), and updateProgramCombo().


The documentation for this class was generated from the following files: