comparison widgets/PluginParameterDialog.cpp @ 72:1d176af87056

* Add support for frequency-domain inputs to Vamp plugins
author Chris Cannam
date Fri, 31 Mar 2006 17:40:14 +0000
parents 72fa239a4880
children 45ba0b381c5d
comparison
equal deleted inserted replaced
71:72fa239a4880 72:1d176af87056
129 } else { 129 } else {
130 130
131 channelLayout->addWidget(new QLabel(tr("This plugin only has a single channel input,\nbut the source has %1 channels.").arg(sourceChannels))); 131 channelLayout->addWidget(new QLabel(tr("This plugin only has a single channel input,\nbut the source has %1 channels.").arg(sourceChannels)));
132 132
133 QComboBox *channelCombo = new QComboBox; 133 QComboBox *channelCombo = new QComboBox;
134 channelCombo->addItem(tr("Use sum of source channels").arg(sourceChannels)); 134 channelCombo->addItem(tr("Use sum of source channels"));
135 for (int i = 0; i < sourceChannels; ++i) { 135 for (int i = 0; i < sourceChannels; ++i) {
136 channelCombo->addItem(tr("Use channel %1 only").arg(i + 1)); 136 channelCombo->addItem(tr("Use channel %1 only").arg(i + 1));
137 } 137 }
138 138
139 connect(channelCombo, SIGNAL(activated(int)), 139 connect(channelCombo, SIGNAL(activated(int)),