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... |