/[svn]/qsampler/trunk/src/qsamplerChannelForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannelForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1464 by capela, Thu Nov 1 17:14:21 2007 UTC revision 1466 by capela, Thu Nov 1 19:25:10 2007 UTC
# Line 51  ChannelForm::ChannelForm(QWidget* parent Line 51  ChannelForm::ChannelForm(QWidget* parent
51    
52          // Try to restore normal window positioning.          // Try to restore normal window positioning.
53          adjustSize();          adjustSize();
54    
55            QObject::connect(ui.EngineNameComboBox,
56                    SIGNAL(activated(int)),
57                    SLOT(optionsChanged()));
58            QObject::connect(ui.InstrumentFileComboBox,
59                    SIGNAL(activated(const QString&)),
60                    SLOT(updateInstrumentName()));
61            QObject::connect(ui.InstrumentFileToolButton,
62                    SIGNAL(clicked()),
63                    SLOT(openInstrumentFile()));
64            QObject::connect(ui.InstrumentNrComboBox,
65                    SIGNAL(activated(int)),
66                    SLOT(optionsChanged()));
67            QObject::connect(ui.MidiDriverComboBox,
68                    SIGNAL(activated(const QString&)),
69                    SLOT(selectMidiDriver(const QString&)));
70            QObject::connect(ui.MidiDeviceComboBox,
71                    SIGNAL(activated(int)),
72                    SLOT(selectMidiDevice(int)));
73            QObject::connect(ui.MidiPortSpinBox,
74                    SIGNAL(valueChanged(int)),
75                    SLOT(optionsChanged()));
76            QObject::connect(ui.MidiChannelComboBox,
77                    SIGNAL(activated(int)),
78                    SLOT(optionsChanged()));
79            QObject::connect(ui.MidiMapComboBox,
80                    SIGNAL(activated(int)),
81                    SLOT(optionsChanged()));
82            QObject::connect(ui.AudioDriverComboBox,
83                    SIGNAL(activated(const QString&)),
84                    SLOT(selectAudioDriver(const QString&)));
85            QObject::connect(ui.AudioDeviceComboBox,
86                    SIGNAL(activated(int)),
87                    SLOT(selectAudioDevice(int)));
88            QObject::connect(ui.OkPushButton,
89                    SIGNAL(clicked()),
90                    SLOT(accept()));
91            QObject::connect(ui.CancelPushButton,
92                    SIGNAL(clicked()),
93                    SLOT(reject()));
94            QObject::connect(ui.MidiDeviceToolButton,
95                    SIGNAL(clicked()),
96                    SLOT(setupMidiDevice()));
97            QObject::connect(ui.AudioDeviceToolButton,
98                    SIGNAL(clicked()),
99                    SLOT(setupAudioDevice()));
100  }  }
101    
102  ChannelForm::~ChannelForm() {  ChannelForm::~ChannelForm() {

Legend:
Removed from v.1464  
changed lines
  Added in v.1466

  ViewVC Help
Powered by ViewVC