868 |
} |
} |
869 |
|
|
870 |
|
|
871 |
|
// Commit any pending editing. |
872 |
|
void qsamplerChannelRoutingTable::flush (void) |
873 |
|
{ |
874 |
|
if (QTable::isEditing()) |
875 |
|
QTable::endEdit(QTable::currEditRow(), QTable::currEditCol(), true, true); |
876 |
|
} |
877 |
|
|
878 |
|
|
879 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
880 |
// qsamplerChannelRoutingComboBox - Custom combo box for routing table. |
// qsamplerChannelRoutingComboBox - Custom combo box for routing table. |
881 |
// |
// |
883 |
// Constructor. |
// Constructor. |
884 |
qsamplerChannelRoutingComboBox::qsamplerChannelRoutingComboBox ( |
qsamplerChannelRoutingComboBox::qsamplerChannelRoutingComboBox ( |
885 |
QTable *pTable, const QStringList& list, const QPixmap& pixmap ) |
QTable *pTable, const QStringList& list, const QPixmap& pixmap ) |
886 |
: QTableItem(pTable, QTableItem::OnTyping, QString::null, pixmap), |
: QTableItem(pTable, QTableItem::WhenCurrent, QString::null, pixmap), |
887 |
m_list(list) |
m_list(list) |
888 |
{ |
{ |
889 |
m_iCurrentItem = 0; |
m_iCurrentItem = 0; |