MuseScore
3.4
Music composition and notation
mscore
metaedit.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 __METAEDIT_H__
21
#define __METAEDIT_H__
22
23
#include "ui_metaedit.h"
24
25
namespace
Ms
{
26
27
class
Score;
28
29
//---------------------------------------------------------
30
// MetaEditDialog
31
//---------------------------------------------------------
32
33
class
MetaEditDialog
:
public
QDialog,
public
Ui::MetaEditDialog {
34
Q_OBJECT
35
36
Score
*
score
;
37
38
bool
dirty
;
39
40
virtual
void
hideEvent
(QHideEvent*);
41
42
private
slots:
43
void
newClicked
();
44
void
setDirty
() { dirty =
true
; }
45
46
public
slots:
47
virtual
void
accept
();
48
49
public
:
50
MetaEditDialog
(
Score
*, QWidget* parent = 0);
51
};
52
53
54
}
// namespace Ms
55
#endif
56
Ms::MetaEditDialog::MetaEditDialog
MetaEditDialog(Score *, QWidget *parent=0)
Definition:
metaedit.cpp:31
Ms::Score
Definition:
score.h:391
Ms::MetaEditDialog::hideEvent
virtual void hideEvent(QHideEvent *)
Definition:
metaedit.cpp:117
Ms::MetaEditDialog::setDirty
void setDirty()
Definition:
metaedit.h:44
Ms
Definition:
aeolus.cpp:26
Ms::MetaEditDialog::newClicked
void newClicked()
Definition:
metaedit.cpp:71
Ms::MetaEditDialog::score
Score * score
Definition:
metaedit.h:36
Ms::MetaEditDialog::dirty
bool dirty
Definition:
metaedit.h:38
Ms::MetaEditDialog::accept
virtual void accept()
Definition:
metaedit.cpp:93
Ms::MetaEditDialog
Definition:
metaedit.h:33
Generated by
1.8.13