/[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 1707 by schoenebeck, Tue Feb 19 22:26:33 2008 UTC revision 2387 by capela, Sat Dec 29 00:21:11 2012 UTC
# Line 1  Line 1 
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
# Line 130  ChannelFxForm::ChannelFxForm ( Line 131  ChannelFxForm::ChannelFxForm (
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);

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

  ViewVC Help
Powered by ViewVC