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

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

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

revision 1464 by capela, Thu Nov 1 17:14:21 2007 UTC revision 1504 by capela, Wed Nov 21 11:46:40 2007 UTC
# Line 27  Line 27 
27    
28  #include "qsamplerInstrumentList.h"  #include "qsamplerInstrumentList.h"
29    
30  #include <QComboBox>  class QComboBox;
31    
32    
33  namespace QSampler {  namespace QSampler {
34    
35  class InstrumentListForm : public QMainWindow {  class InstrumentListForm : public QMainWindow
36  Q_OBJECT  {
37            Q_OBJECT
38    
39  public:  public:
40      MidiInstrumentsModel model;      MidiInstrumentsModel model;
41        MidiInstrumentsDelegate delegate;
42    
43      InstrumentListForm(QWidget* parent = 0, Qt::WindowFlags flags = 0);      InstrumentListForm(QWidget* pParent = NULL, Qt::WindowFlags wflags = 0);
44     ~InstrumentListForm();     ~InstrumentListForm();
45    
46  public slots:  public slots:
# Line 44  public slots: Line 48  public slots:
48      void activateMap(int);      void activateMap(int);
49    
50  protected:  protected:
51      QComboBox* m_pMapComboBox;      void showEvent(QShowEvent *);
52      QToolBar* InstrumentToolbar;      void hideEvent(QHideEvent *);
53        void closeEvent(QCloseEvent *);
54      void showEvent(QShowEvent* pShowEvent);  
55      void hideEvent(QHideEvent* pHideEvent);  protected slots:
56        void editInstrument();
57        void editInstrument(const QModelIndex& index);
58        void newInstrument();
59        void deleteInstrument();
60    
61  private:  private:
62      Ui::qsamplerInstrumentListForm ui;      Ui::qsamplerInstrumentListForm ui;
63    
64        QComboBox* m_pMapComboBox;
65  };  };
66    
67  } // namespace QSampler  } // namespace QSampler

Legend:
Removed from v.1464  
changed lines
  Added in v.1504

  ViewVC Help
Powered by ViewVC