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

Annotation of /qsampler/trunk/src/qsamplerInstrumentForm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1461 - (hide annotations) (download) (as text)
Sun Oct 28 23:30:36 2007 UTC (16 years, 6 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 804 byte(s)
* started to port QSampler to Qt4 (NOTE: this version is yet broken, use
  the latest tarball release 0.1.5 until the Qt4 port is completed)

1 schoenebeck 1461 #ifndef QSAMPLER_INSTRUMENT_FORM_H
2     #define QSAMPLER_INSTRUMENT_FORM_H
3    
4     #include "ui_qsamplerInstrumentForm.h"
5    
6     #include "qsamplerInstrument.h"
7    
8     namespace QSampler {
9    
10     class InstrumentForm : public QDialog {
11     Q_OBJECT
12     public:
13     InstrumentForm(QWidget* parent = 0);
14     ~InstrumentForm();
15     void setup(qsamplerInstrument* pInstrument);
16    
17     public slots:
18     void nameChanged(const QString& sName);
19     void openInstrumentFile();
20     void updateInstrumentName();
21     void instrumentNrChanged();
22     void accept();
23     void reject();
24     void changed();
25     void stabilizeForm();
26    
27     protected:
28     qsamplerInstrument* m_pInstrument;
29     int m_iDirtySetup;
30     int m_iDirtyCount;
31     int m_iDirtyName;
32    
33     private:
34     Ui::qsamplerInstrumentForm ui;
35     };
36    
37     } // namespace QSampler
38    
39     #endif // QSAMPLER_INSTRUMENT_FORM_H

  ViewVC Help
Powered by ViewVC