MuseScore/mscore/instrdialog.h

49 lines
1.2 KiB
C
Raw Normal View History

2012-05-26 14:49:10 +02:00
//=============================================================================
// MuseScore
// Music Composition & Notation
2012-05-26 14:49:10 +02:00
//
// Copyright (C) 2002-2014 Werner Schweer
2012-05-26 14:49:10 +02:00
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// as published by the Free Software Foundation and appearing in
// the file LICENCE.GPL
2012-05-26 14:49:10 +02:00
//=============================================================================
#ifndef __INSTRDIALOG_H__
#define __INSTRDIALOG_H__
#include "ui_instrdialog.h"
2013-05-13 18:49:17 +02:00
namespace Ms {
2012-05-26 14:49:10 +02:00
class Score;
//---------------------------------------------------------
// InstrumentsDialog
//---------------------------------------------------------
class InstrumentsDialog : public QDialog, public Ui::InstrumentsDialog {
2012-05-26 14:49:10 +02:00
Q_OBJECT
void readSettings();
2012-05-26 14:49:10 +02:00
private slots:
virtual void accept();
2012-05-26 14:49:10 +02:00
void on_saveButton_clicked();
void on_loadButton_clicked();
2012-05-26 14:49:10 +02:00
public:
InstrumentsDialog(QWidget* parent = 0);
2013-10-01 16:22:06 +02:00
void writeSettings();
2014-08-16 11:21:56 +02:00
void genPartList(Score*);
QTreeWidget* partiturList();
void buildInstrumentsList();
2012-05-26 14:49:10 +02:00
};
2013-05-13 18:49:17 +02:00
} // namespace Ms
2012-05-26 14:49:10 +02:00
#endif