1 |
// qsamplerChannelFxForm.cpp |
// qsamplerChannelFxForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2010-2012, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2010-2013, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2008, Christian Schoenebeck |
Copyright (C) 2008, Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
GNU General Public License for more details. |
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License along |
18 |
along with this program; if not, write to the Free Software |
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
|
21 |
*****************************************************************************/ |
*****************************************************************************/ |
22 |
|
|
118 |
FxSendsModel* pModel = |
FxSendsModel* pModel = |
119 |
new FxSendsModel(m_pSamplerChannel->channelID(), m_ui.SendsListView); |
new FxSendsModel(m_pSamplerChannel->channelID(), m_ui.SendsListView); |
120 |
m_ui.SendsListView->setModel(pModel); |
m_ui.SendsListView->setModel(pModel); |
|
#if QT_VERSION >= 0x040300 |
|
121 |
m_ui.SendsListView->setSelectionRectVisible(true); |
m_ui.SendsListView->setSelectionRectVisible(true); |
|
#endif |
|
122 |
|
|
123 |
const int iRowHeight = m_ui.audioRoutingTable->fontMetrics().height() + 4; |
const int iRowHeight = m_ui.audioRoutingTable->fontMetrics().height() + 4; |
124 |
m_ui.audioRoutingTable->verticalHeader()->setDefaultSectionSize(iRowHeight); |
m_ui.audioRoutingTable->verticalHeader()->setDefaultSectionSize(iRowHeight); |