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

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

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

revision 1668 by schoenebeck, Tue Feb 5 15:42:33 2008 UTC revision 1707 by schoenebeck, Tue Feb 19 22:26:33 2008 UTC
# Line 117  ChannelFxForm::ChannelFxForm ( Line 117  ChannelFxForm::ChannelFxForm (
117          FxSendsModel* pModel =          FxSendsModel* pModel =
118                  new FxSendsModel(m_pSamplerChannel->channelID(), m_ui.SendsListView);                  new FxSendsModel(m_pSamplerChannel->channelID(), m_ui.SendsListView);
119          m_ui.SendsListView->setModel(pModel);          m_ui.SendsListView->setModel(pModel);
120    #if QT_VERSION >= 0x040300
121            m_ui.SendsListView->setSelectionRectVisible(true);
122    #endif
123    
124          const int iRowHeight = m_ui.audioRoutingTable->fontMetrics().height() + 4;          const int iRowHeight = m_ui.audioRoutingTable->fontMetrics().height() + 4;
125          m_ui.audioRoutingTable->verticalHeader()->setDefaultSectionSize(iRowHeight);          m_ui.audioRoutingTable->verticalHeader()->setDefaultSectionSize(iRowHeight);
# Line 258  void ChannelFxForm::onFxSendSelection(co Line 261  void ChannelFxForm::onFxSendSelection(co
261    
262          m_ui.depthCtrlComboBox->setCurrentIndex(pFxSend->sendDepthMidiCtrl());          m_ui.depthCtrlComboBox->setCurrentIndex(pFxSend->sendDepthMidiCtrl());
263          m_ui.depthSpinBox->setValue(          m_ui.depthSpinBox->setValue(
264                  ::round(pFxSend->currentDepth() * 100.0)                  int(::round(pFxSend->currentDepth() * 100.0))
265          );          );
266  }  }
267    

Legend:
Removed from v.1668  
changed lines
  Added in v.1707

  ViewVC Help
Powered by ViewVC