1 |
|
// qsamplerChannelStrip.cpp |
2 |
|
// |
3 |
|
/**************************************************************************** |
4 |
|
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
|
This program is free software; you can redistribute it and/or |
8 |
|
modify it under the terms of the GNU General Public License |
9 |
|
as published by the Free Software Foundation; either version 2 |
10 |
|
of the License, or (at your option) any later version. |
11 |
|
|
12 |
|
This program is distributed in the hope that it will be useful, |
13 |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
|
GNU General Public License for more details. |
16 |
|
|
17 |
|
You should have received a copy of the GNU General Public License along |
18 |
|
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
|
21 |
|
*****************************************************************************/ |
22 |
|
|
23 |
#include "qsamplerChannelStrip.h" |
#include "qsamplerChannelStrip.h" |
24 |
|
|
25 |
#include "qsamplerMainForm.h" |
#include "qsamplerMainForm.h" |
45 |
|
|
46 |
// Try to restore normal window positioning. |
// Try to restore normal window positioning. |
47 |
adjustSize(); |
adjustSize(); |
48 |
|
|
49 |
|
QObject::connect(ui.ChannelSetupPushButton, |
50 |
|
SIGNAL(clicked()), |
51 |
|
SLOT(channelSetup())); |
52 |
|
QObject::connect(ui.ChannelMutePushButton, |
53 |
|
SIGNAL(toggled(bool)), |
54 |
|
SLOT(channelMute(bool))); |
55 |
|
QObject::connect(ui.ChannelSoloPushButton, |
56 |
|
SIGNAL(toggled(bool)), |
57 |
|
SLOT(channelSolo(bool))); |
58 |
|
QObject::connect(ui.VolumeSlider, |
59 |
|
SIGNAL(valueChanged(int)), |
60 |
|
SLOT(volumeChanged(int))); |
61 |
|
QObject::connect(ui.VolumeSpinBox, |
62 |
|
SIGNAL(valueChanged(int)), |
63 |
|
SLOT(volumeChanged(int))); |
64 |
|
QObject::connect(ui.ChannelEditPushButton, |
65 |
|
SIGNAL(clicked()), |
66 |
|
SLOT(channelEdit())); |
67 |
} |
} |
68 |
|
|
69 |
ChannelStrip::~ChannelStrip() { |
ChannelStrip::~ChannelStrip() { |
473 |
} |
} |
474 |
|
|
475 |
} // namespace QSampler |
} // namespace QSampler |
476 |
|
|
477 |
|
|
478 |
|
// end of qsamplerChannelStrip.cpp |