comparison widgets/PluginParameterDialog.cpp @ 76:45ba0b381c5d

* Fix long-standing off-by-1 bug in WaveFileModel that was getting us the wrong values for almost all audio data when merging channels (channel == -1) * Implement cut, copy and paste * Make draw mode work properly in time value layer * Minor fixes to CSV import
author Chris Cannam
date Fri, 07 Apr 2006 17:50:33 +0000
parents 1d176af87056
children 551d7ae05526
comparison
equal deleted inserted replaced
75:dfdbf336bb37 76:45ba0b381c5d
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")); 134 channelCombo->addItem(tr("Use mean 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)),