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); |
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 |
|
|