MuseScore  3.4
Music composition and notation
partedit.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
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 #if 0
21 
22 #ifndef __ILEDIT_H__
23 #define __ILEDIT_H__
24 
25 #include "ui_partedit.h"
26 
27 namespace Ms {
28 
29 class Score;
30 struct Channel;
31 class Part;
32 
33 //---------------------------------------------------------
34 // PartEdit
35 //---------------------------------------------------------
36 
37 class PartEdit : public QWidget, public Ui::PartEditBase {
38  //Q_OBJECT
39 
41  Part* part;
42 
43  private slots:
44  void patchChanged(int);
45  void volChanged(double);
46  void panChanged(double);
47  void reverbChanged(double);
48  void chorusChanged(double);
49  void muteChanged(bool);
50  void soloToggled(bool);
51  void drumsetToggled(bool);
52 
53  public slots:
54  void updateSolo();
55 
56  signals:
57  void soloChanged();
58 
59  public:
60  PartEdit(QWidget* parent = 0);
61  void setPart(Part*, Channel*);
62  };
63 
64 //---------------------------------------------------------
65 // InstrumentListEditor
66 //---------------------------------------------------------
67 
68 class InstrumentListEditor : public QScrollArea
69  {
70  //Q_OBJECT
71  Score* cs;
72  QScrollArea* sa;
73  QVBoxLayout* vb;
74 
75  virtual void closeEvent(QCloseEvent*);
76 
77  private slots:
78  void updateSolo();
79 
80  public slots:
81  void patchListChanged();
82 
83  signals:
84  void soloChanged();
85 
86  public:
87  InstrumentListEditor(QWidget* parent);
88  void updateAll(Score*);
89  };
90 
91 
92 } // namespace Ms
93 #endif
94 #endif
void muteChanged(bool, bool syncControls=true)
Definition: parteditbase.cpp:262
Part * part
Definition: parteditbase.h:43
void soloToggled(bool, bool syncControls=true)
Definition: parteditbase.cpp:274
void drumsetToggled(bool, bool syncControls=true)
Definition: parteditbase.cpp:332
void chorusChanged(double, bool syncControls=true)
Definition: parteditbase.cpp:250
Channel * channel
Definition: parteditbase.h:42
void soloChanged(bool)
void reverbChanged(double, bool syncControls=true)
Definition: parteditbase.cpp:238
void panChanged(double, bool syncControls=true)
Definition: parteditbase.cpp:226
PartEdit(QWidget *parent=0)
Definition: parteditbase.cpp:49
void volChanged(double, bool syncControls=true)
Definition: parteditbase.cpp:214
void patchChanged(int, bool syncControls=true)
Definition: parteditbase.cpp:190
Definition: aeolus.cpp:26
void setPart(Part *, Channel *)
Definition: parteditbase.cpp:81
Definition: channel.h:23