MuseScore  3.4
Music composition and notation
editinstrument.h
Go to the documentation of this file.
1 //=============================================================================
2 // MusE Score
3 // Linux Music Score Editor
4 //
5 // Copyright (C) 2002-2009 Werner Schweer and others
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //=============================================================================
19 
20 #ifndef __EDITINSTRUMENT_H__
21 #define __EDITINSTRUMENT_H__
22 
23 #include "ui_editinstrument.h"
24 
25 namespace Ms {
26 
27 class InstrumentTemplate;
28 
29 //---------------------------------------------------------
30 // EditInstrument
31 //---------------------------------------------------------
32 
33 class EditInstrument : public QDialog, private Ui::EditInstrumentBase
34  {
35  Q_OBJECT
36 
39 
40  private slots:
42  void on_buttonOk_pressed();
43  void valueChanged();
44 
45  public:
46  EditInstrument(QWidget* parent = 0);
48  void setInstrument(InstrumentTemplate* instr);
49  };
50 
51 
52 } // namespace Ms
53 #endif
54 
EditInstrument(QWidget *parent=0)
Definition: editinstrument.cpp:29
Definition: editinstrument.h:33
void on_buttonOk_pressed()
Definition: editinstrument.cpp:79
Definition: aeolus.cpp:26
~EditInstrument()
Definition: editinstrument.cpp:61
InstrumentTemplate * instr
Definition: editinstrument.h:37
void on_buttonCancel_pressed()
Definition: editinstrument.cpp:70
void valueChanged()
Definition: editinstrument.cpp:89
Definition: instrtemplate.h:48
void setInstrument(InstrumentTemplate *instr)
Definition: editinstrument.cpp:43
InstrumentTemplate * lt
Definition: editinstrument.h:38