--- qsampler/trunk/src/qsamplerDeviceForm.h 2007/11/01 17:14:21 1464 +++ qsampler/trunk/src/qsamplerDeviceForm.h 2007/11/20 16:48:04 1499 @@ -25,7 +25,8 @@ #include "ui_qsamplerDeviceForm.h" -#include "qsamplerMainForm.h" +#include "qsamplerDevice.h" + namespace QSampler { @@ -54,8 +55,12 @@ void selectDevicePort(int iPort); void changeDeviceParam(int iRow, int iCol); void changeDevicePortParam(int iRow, int iCol); - void contextMenu(QTreeWidgetItem* item, const QPoint&, int); + void deviceListViewContextMenu(const QPoint& pos); void stabilizeForm(); + void updateCellRenderers(); + void updateCellRenderers(const QModelIndex& topLeft, const QModelIndex& bottomRight); + void updatePortCellRenderers(); + void updatePortCellRenderers(const QModelIndex& topLeft, const QModelIndex& bottomRight); protected: MainForm *m_pMainForm; @@ -76,7 +81,7 @@ DeviceParamModel deviceParamModel; DeviceParamDelegate deviceParamDelegate; - DeviceParamModel devicePortParamModel; + PortParamModel devicePortParamModel; DeviceParamDelegate devicePortParamDelegate; };