1 |
// qsamplerChannelFxForm.cpp |
// qsamplerChannelFxForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
|
Copyright (C) 2010-2012, 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 |
131 |
ChannelRoutingDelegate* pRoutingDelegate = |
ChannelRoutingDelegate* pRoutingDelegate = |
132 |
new ChannelRoutingDelegate(m_ui.audioRoutingTable); |
new ChannelRoutingDelegate(m_ui.audioRoutingTable); |
133 |
m_ui.audioRoutingTable->setItemDelegate(pRoutingDelegate); |
m_ui.audioRoutingTable->setItemDelegate(pRoutingDelegate); |
134 |
|
#if QT_VERSION < 0x050000 |
135 |
m_ui.audioRoutingTable->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); |
m_ui.audioRoutingTable->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); |
136 |
|
#endif |
137 |
// m_ui.audioRoutingTable->verticalHeader()->hide(); |
// m_ui.audioRoutingTable->verticalHeader()->hide(); |
138 |
|
|
139 |
QAbstractButton* pApplyButton = |
QAbstractButton* pApplyButton = |
140 |
m_ui.buttonBox->button(QDialogButtonBox::Apply); |
m_ui.buttonBox->button(QDialogButtonBox::Apply); |
141 |
pApplyButton->setEnabled(false); |
pApplyButton->setEnabled(false); |
142 |
pApplyButton->setIcon(QIcon(":/icons/formEdit.png")); |
pApplyButton->setIcon(QIcon(":/images/formEdit.png")); |
143 |
|
|
144 |
QAbstractButton* pCancelButton = |
QAbstractButton* pCancelButton = |
145 |
m_ui.buttonBox->button(QDialogButtonBox::Cancel); |
m_ui.buttonBox->button(QDialogButtonBox::Cancel); |
146 |
pCancelButton->setIcon(QIcon(":/icons/formRemove.png")); |
pCancelButton->setIcon(QIcon(":/images/formRemove.png")); |
147 |
|
|
148 |
QAbstractButton* pOkButton = |
QAbstractButton* pOkButton = |
149 |
m_ui.buttonBox->button(QDialogButtonBox::Ok); |
m_ui.buttonBox->button(QDialogButtonBox::Ok); |
150 |
pOkButton->setIcon(QIcon(":/icons/formAccept.png")); |
pOkButton->setIcon(QIcon(":/images/formAccept.png")); |
151 |
|
|
152 |
QAbstractButton* pResetButton = |
QAbstractButton* pResetButton = |
153 |
m_ui.buttonBox->button(QDialogButtonBox::Reset); |
m_ui.buttonBox->button(QDialogButtonBox::Reset); |