/[svn]/qsampler/trunk/src/qsamplerDeviceForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerDeviceForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2387 by capela, Sat Dec 29 00:21:11 2012 UTC revision 2388 by capela, Sat Dec 29 19:12:58 2012 UTC
# Line 60  DeviceForm::DeviceForm ( QWidget *pParen Line 60  DeviceForm::DeviceForm ( QWidget *pParen
60    
61          m_ui.DeviceParamTable->setModel(&m_deviceParamModel);          m_ui.DeviceParamTable->setModel(&m_deviceParamModel);
62          m_ui.DeviceParamTable->setItemDelegate(&m_deviceParamDelegate);          m_ui.DeviceParamTable->setItemDelegate(&m_deviceParamDelegate);
63  #if QT_VERSION < 0x050000  #if QT_VERSION >= 0x050000
64            m_ui.DeviceParamTable->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch);
65    #else
66          m_ui.DeviceParamTable->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch);          m_ui.DeviceParamTable->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch);
67  #endif  #endif
68          m_ui.DeviceParamTable->verticalHeader()->hide();          m_ui.DeviceParamTable->verticalHeader()->hide();
69    
70          m_ui.DevicePortParamTable->setModel(&m_devicePortParamModel);          m_ui.DevicePortParamTable->setModel(&m_devicePortParamModel);
71          m_ui.DevicePortParamTable->setItemDelegate(&m_devicePortParamDelegate);          m_ui.DevicePortParamTable->setItemDelegate(&m_devicePortParamDelegate);
72  #if QT_VERSION < 0x050000  #if QT_VERSION >= 0x050000
73            m_ui.DevicePortParamTable->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch);
74    #else
75          m_ui.DevicePortParamTable->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch);          m_ui.DevicePortParamTable->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch);
76  #endif  #endif
77          m_ui.DevicePortParamTable->verticalHeader()->hide();          m_ui.DevicePortParamTable->verticalHeader()->hide();

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

  ViewVC Help
Powered by ViewVC