forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabstractdialog.h
49 lines (39 loc) · 1.46 KB
/
abstractdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//=============================================================================
// MuseScore
// Music Composition & Notation
// $Id: abstractdialog.h 4220 2011-04-22 10:31:26Z wschweer $
//
// Copyright (C) 2002-2016 Werner Schweer and others
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//=============================================================================
#ifndef __QABSTRACTDIALOG_H__
#define __QABSTRACTDIALOG_H__
namespace Ms {
//---------------------------------------------------------
// AbstractDialog
//---------------------------------------------------------
class AbstractDialog : public QDialog
{
Q_OBJECT
public:
AbstractDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
virtual ~AbstractDialog();
protected:
// change language event
virtual void changeEvent(QEvent *event);
// translate all strings
virtual void retranslate() = 0;
};
}
#endif