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

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

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

revision 1470 by schoenebeck, Sun Nov 4 23:37:47 2007 UTC revision 1475 by schoenebeck, Tue Nov 6 22:12:32 2007 UTC
# Line 2077  void MainForm::appendMessagesError( cons Line 2077  void MainForm::appendMessagesError( cons
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);
# Line 2166  ChannelStrip* MainForm::createChannelStr Line 2166  ChannelStrip* MainForm::createChannelStr
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...

Legend:
Removed from v.1470  
changed lines
  Added in v.1475

  ViewVC Help
Powered by ViewVC