142 |
// Make it an MDI workspace. |
// Make it an MDI workspace. |
143 |
m_pWorkspace = new QWorkspace(this); |
m_pWorkspace = new QWorkspace(this); |
144 |
m_pWorkspace->setScrollBarsEnabled(true); |
m_pWorkspace->setScrollBarsEnabled(true); |
145 |
// Set the activation connection. |
// Set the activation connection. |
146 |
QObject::connect(m_pWorkspace, SIGNAL(windowActivated(QWidget *)), this, SLOT(stabilizeForm())); |
QObject::connect(m_pWorkspace, |
147 |
|
SIGNAL(windowActivated(QWidget *)), |
148 |
|
SLOT(stabilizeForm())); |
149 |
// Make it shine :-) |
// Make it shine :-) |
150 |
setCentralWidget(m_pWorkspace); |
setCentralWidget(m_pWorkspace); |
151 |
|
|
255 |
updateMessagesLimit(); |
updateMessagesLimit(); |
256 |
updateMessagesCapture(); |
updateMessagesCapture(); |
257 |
// Set the visibility signal. |
// Set the visibility signal. |
258 |
QObject::connect(m_pMessages, |
QObject::connect(m_pMessages, |
259 |
SIGNAL(visibilityChanged(bool)), |
SIGNAL(visibilityChanged(bool)), |
260 |
SLOT(stabilizeForm())); |
SLOT(stabilizeForm())); |
261 |
|
|
1917 |
|
|
1918 |
// Actual channel strip setup... |
// Actual channel strip setup... |
1919 |
pChannelStrip->setup(pChannel); |
pChannelStrip->setup(pChannel); |
1920 |
QObject::connect(pChannelStrip, SIGNAL(channelChanged(qsamplerChannelStrip *)), this, SLOT(channelStripChanged(qsamplerChannelStrip *))); |
QObject::connect(pChannelStrip, |
1921 |
|
SIGNAL(channelChanged(qsamplerChannelStrip *)), |
1922 |
|
SLOT(channelStripChanged(qsamplerChannelStrip *))); |
1923 |
// Set some initial aesthetic options... |
// Set some initial aesthetic options... |
1924 |
if (m_pOptions) { |
if (m_pOptions) { |
1925 |
// Background display effect... |
// Background display effect... |
2126 |
m_pServer = new QProcess(this); |
m_pServer = new QProcess(this); |
2127 |
|
|
2128 |
// Setup stdout/stderr capture... |
// Setup stdout/stderr capture... |
2129 |
//if (m_pOptions->bStdoutCapture) { |
// if (m_pOptions->bStdoutCapture) { |
2130 |
m_pServer->setCommunication(QProcess::Stdout | QProcess::Stderr | QProcess::DupStderr); |
m_pServer->setCommunication( |
2131 |
QObject::connect(m_pServer, SIGNAL(readyReadStdout()), this, SLOT(readServerStdout())); |
QProcess::Stdout | QProcess::Stderr | QProcess::DupStderr); |
2132 |
QObject::connect(m_pServer, SIGNAL(readyReadStderr()), this, SLOT(readServerStdout())); |
QObject::connect(m_pServer, |
2133 |
//} |
SIGNAL(readyReadStdout()), |
2134 |
// The unforgiveable signal communication... |
SLOT(readServerStdout())); |
2135 |
QObject::connect(m_pServer, SIGNAL(processExited()), this, SLOT(processServerExit())); |
QObject::connect(m_pServer, |
2136 |
|
SIGNAL(readyReadStderr()), |
2137 |
|
SLOT(readServerStdout())); |
2138 |
|
// } |
2139 |
|
// The unforgiveable signal communication... |
2140 |
|
QObject::connect(m_pServer, |
2141 |
|
SIGNAL(processExited()), |
2142 |
|
SLOT(processServerExit())); |
2143 |
|
|
2144 |
// Build process arguments... |
// Build process arguments... |
2145 |
m_pServer->setArguments(QStringList::split(' ', m_pOptions->sServerCmdLine)); |
m_pServer->setArguments(QStringList::split(' ', m_pOptions->sServerCmdLine)); |