2077 |
if (m_pMessages) |
if (m_pMessages) |
2078 |
m_pMessages->show(); |
m_pMessages->show(); |
2079 |
|
|
2080 |
appendMessagesColor(s.simplifyWhiteSpace(), "#ff0000"); |
appendMessagesColor(s.simplified(), "#ff0000"); |
2081 |
|
|
2082 |
// Make it look responsive...:) |
// Make it look responsive...:) |
2083 |
QApplication::processEvents(QEventLoop::ExcludeUserInput); |
QApplication::processEvents(QEventLoop::ExcludeUserInput); |
2166 |
} |
} |
2167 |
|
|
2168 |
// Add a new channel itema... |
// Add a new channel itema... |
2169 |
Qt::WFlags wflags = Qt::WStyle_Customize | Qt::WStyle_Tool | Qt::WStyle_Title | Qt::WStyle_NoBorder; |
pChannelStrip = new ChannelStrip(); |
|
pChannelStrip = new ChannelStrip(m_pWorkspace, wflags); |
|
2170 |
if (pChannelStrip == NULL) |
if (pChannelStrip == NULL) |
2171 |
return NULL; |
return NULL; |
2172 |
|
|
2173 |
|
m_pWorkspace->addWindow(pChannelStrip, Qt::Tool); |
2174 |
|
|
2175 |
// Actual channel strip setup... |
// Actual channel strip setup... |
2176 |
pChannelStrip->setup(pChannel); |
pChannelStrip->setup(pChannel); |
2177 |
QObject::connect(pChannelStrip, |
QObject::connect(pChannelStrip, |
2178 |
SIGNAL(channelChanged(qsamplerChannelStrip *)), |
SIGNAL(channelChanged(ChannelStrip*)), |
2179 |
SLOT(channelStripChanged(qsamplerChannelStrip *))); |
SLOT(channelStripChanged(ChannelStrip*))); |
2180 |
// Set some initial aesthetic options... |
// Set some initial aesthetic options... |
2181 |
if (m_pOptions) { |
if (m_pOptions) { |
2182 |
// Background display effect... |
// Background display effect... |
2386 |
//m_pServer->setProcessChannelMode( |
//m_pServer->setProcessChannelMode( |
2387 |
// QProcess::StandardOutput); |
// QProcess::StandardOutput); |
2388 |
QObject::connect(m_pServer, |
QObject::connect(m_pServer, |
2389 |
SIGNAL(readyReadStdout()), |
SIGNAL(readyReadStandardOutput()), |
2390 |
SLOT(readServerStdout())); |
SLOT(readServerStdout())); |
2391 |
QObject::connect(m_pServer, |
QObject::connect(m_pServer, |
2392 |
SIGNAL(readyReadStderr()), |
SIGNAL(readyReadStandardError()), |
2393 |
SLOT(readServerStdout())); |
SLOT(readServerStdout())); |
2394 |
// } |
// } |
2395 |
// The unforgiveable signal communication... |
// The unforgiveable signal communication... |
2396 |
QObject::connect(m_pServer, |
QObject::connect(m_pServer, |
2397 |
SIGNAL(processExited()), |
SIGNAL(finished(int,QProcess::ExitStatus)), |
2398 |
SLOT(processServerExit())); |
SLOT(processServerExit())); |
2399 |
|
|
2400 |
// Build process arguments... |
// Build process arguments... |