MuseScore  3.4
Music composition and notation
instrdialog.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2002-2014 Werner Schweer
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 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __INSTRDIALOG_H__
14 #define __INSTRDIALOG_H__
15 
16 #include "ui_instrdialog.h"
17 
18 namespace Ms {
19 
20 class Score;
21 
22 //---------------------------------------------------------
23 // InstrumentsDialog
24 //---------------------------------------------------------
25 
26 class InstrumentsDialog : public QDialog, public Ui::InstrumentsDialog {
27  Q_OBJECT
28 
29  void readSettings();
30 
31  private slots:
32  virtual void accept();
33  void on_saveButton_clicked();
34  void on_loadButton_clicked();
35 
36  public:
37  InstrumentsDialog(QWidget* parent = 0);
38  void init();
39  void writeSettings();
40  void genPartList(Score*);
41  QTreeWidget* partiturList();
42  void buildInstrumentsList();
43  };
44 
45 } // namespace Ms
46 
47 
48 #endif
49 
void on_saveButton_clicked()
Definition: instrdialog.cpp:81
void init()
Definition: instrdialog.cpp:63
Definition: score.h:391
QTreeWidget * partiturList()
Definition: instrdialog.cpp:178
void on_loadButton_clicked()
Definition: instrdialog.cpp:125
Definition: aeolus.cpp:26
void genPartList(Score *)
Definition: instrdialog.cpp:169
Definition: instrdialog.h:26
void writeSettings()
Definition: instrdialog.cpp:151
void readSettings()
Definition: instrdialog.cpp:160
virtual void accept()
Definition: instrdialog.cpp:72
void buildInstrumentsList()
Definition: instrdialog.cpp:187
InstrumentsDialog(QWidget *parent=0)
Definition: instrdialog.cpp:45