-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnasettings.h
executable file
·53 lines (44 loc) · 1.59 KB
/
nasettings.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
49
50
51
52
53
/*-----------------------------------------------------------------------------
| This file is part of Notatio Antiqua (c) 2009-2012 David Gippner |
-------------------------------------------------------------------------------
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of the License.
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.
-----------------------------------------------------------------------------*/
#ifndef NASETTINGS_H
#define NASETTINGS_H
#include <QDialog>
#include <QColor>
#include <QColorDialog>
#include <QSettings>
#include <QMessageBox>
#include <QColorDialog>
namespace Ui {
class NASettings;
}
class NASettings : public QDialog {
Q_OBJECT
/**
* @class NASettings
* @brief Settings class, holds some variables for the settings dialog and the dialog itself
*/
public:
NASettings(QWidget *parent = 0);
~NASettings();
QColor keyword;
QColor commentary;
QColor pitch;
QColor translation;
QString fontsize;
QString staffsize;
protected:
void changeEvent(QEvent *e);
private:
Ui::NASettings *ui;
private slots:
void modifyIni();
void on_keywordsCC_clicked();
void on_pitchesCC_clicked();
void on_commentsCC_clicked();
void on_translationsCC_clicked();
};
#endif // NASETTINGS_H