Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (44 sloc) 1.634 kb
412ca45 @wschweer Initial commit
wschweer authored
1 //=============================================================================
2 // MusE Score
3 // Linux Music Score Editor
4 // $Id: textstyle.h 4388 2011-06-18 13:17:58Z wschweer $
5 //
6 // Copyright (C) 2002-2009 Werner Schweer and others
7 //
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License version 2.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 //=============================================================================
20
21 #ifndef __TEXTSTYLE_H__
22 #define __TEXTSTYLE_H__
23
24 #include "libmscore/style.h"
25 #include "ui_textstyle.h"
26
27 class Score;
28
29 //---------------------------------------------------------
30 // TextStyleDialog
31 //---------------------------------------------------------
32
33 class TextStyleDialog : public QDialog, Ui::TextStyleDialog {
34 Q_OBJECT
35 QList<TextStyle> styles; // local copy of text style
36 Score* cs;
37 int current;
38
39 void saveStyle(int);
40 void apply();
41
42 private slots:
43 void nameSelected(int);
44 void buttonClicked(QAbstractButton*);
45 void newClicked();
46
47 signals:
48
49 public:
50 TextStyleDialog(QWidget* parent, Score*);
51 ~TextStyleDialog();
52 };
53
54 #endif
55
Something went wrong with that request. Please try again.