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

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

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

revision 1509 by capela, Thu Nov 22 11:10:44 2007 UTC revision 1510 by capela, Thu Nov 22 14:17:24 2007 UTC
# Line 38  class DeviceForm : public QDialog Line 38  class DeviceForm : public QDialog
38    
39  public:  public:
40    
41      DeviceForm(QWidget *pParent = NULL, Qt::WindowFlags wflags = 0);          DeviceForm(QWidget *pParent = NULL, Qt::WindowFlags wflags = 0);
42     ~DeviceForm();          ~DeviceForm();
43    
44      void setDeviceTypeMode(qsamplerDevice::DeviceType deviceType);          void setDeviceTypeMode(qsamplerDevice::DeviceType deviceType);
45      void setDriverName(const QString& sDriverName);          void setDriverName(const QString& sDriverName);
46      void setDevice(qsamplerDevice* pDevice);          void setDevice(qsamplerDevice *pDevice);
47    
48  public slots:  public slots:
49    
50      void createDevice();          void createDevice();
51      void deleteDevice();          void deleteDevice();
52      void refreshDevices();          void refreshDevices();
53      void selectDriver(const QString& sDriverName);          void selectDriver(const QString& sDriverName);
54      void selectDevice();          void selectDevice();
55      void selectDevicePort(int iPort);          void selectDevicePort(int iPort);
56      void changeDeviceParam(int iRow, int iCol);          void changeDeviceParam(int iRow, int iCol);
57      void changeDevicePortParam(int iRow, int iCol);          void changeDevicePortParam(int iRow, int iCol);
58      void deviceListViewContextMenu(const QPoint& pos);          void deviceListViewContextMenu(const QPoint& pos);
59      void stabilizeForm();          void stabilizeForm();
60      void updateCellRenderers();  
61      void updateCellRenderers(const QModelIndex& topLeft, const QModelIndex& bottomRight);          void updateCellRenderers();
62      void updatePortCellRenderers();          void updateCellRenderers(
63      void updatePortCellRenderers(const QModelIndex& topLeft, const QModelIndex& bottomRight);                  const QModelIndex& topLeft, const QModelIndex& bottomRight);
64            void updatePortCellRenderers();
65            void updatePortCellRenderers(
66                    const QModelIndex& topLeft, const QModelIndex& bottomRight);
67    
68  signals:  signals:
69    
70      void devicesChanged();          void devicesChanged();
71    
72  protected:  protected:
73    
74      void showEvent(QShowEvent* pShowEvent);          void showEvent(QShowEvent* pShowEvent);
75      void hideEvent(QHideEvent* pHideEvent);          void hideEvent(QHideEvent* pHideEvent);
76    
77  private:  private:
78    
79      Ui::qsamplerDeviceForm m_ui;          Ui::qsamplerDeviceForm m_ui;
80    
81      DeviceParamModel    m_deviceParamModel;          DeviceParamModel    m_deviceParamModel;
82      DeviceParamDelegate m_deviceParamDelegate;          DeviceParamDelegate m_deviceParamDelegate;
83    
84      PortParamModel      m_devicePortParamModel;          PortParamModel      m_devicePortParamModel;
85      DeviceParamDelegate m_devicePortParamDelegate;          DeviceParamDelegate m_devicePortParamDelegate;
86    
87      lscp_client_t *m_pClient;          lscp_client_t *m_pClient;
88      int m_iDirtySetup;          int m_iDirtySetup;
89      int m_iDirtyCount;          int m_iDirtyCount;
90      bool m_bNewDevice;          bool m_bNewDevice;
91      qsamplerDevice::DeviceType m_deviceType;          qsamplerDevice::DeviceType m_deviceType;
92      qsamplerDevice::DeviceType m_deviceTypeMode;          qsamplerDevice::DeviceType m_deviceTypeMode;
93      qsamplerDeviceItem *m_pAudioItems;          qsamplerDeviceItem *m_pAudioItems;
94      qsamplerDeviceItem *m_pMidiItems;          qsamplerDeviceItem *m_pMidiItems;
95  };  };
96    
97  } // namespace QSampler  } // namespace QSampler
98    
99    
100  #endif // __qsamplerDeviceForm_h  #endif // __qsamplerDeviceForm_h
101    
102    

Legend:
Removed from v.1509  
changed lines
  Added in v.1510

  ViewVC Help
Powered by ViewVC