blob: 2b522fee63c6e4c1bc72c02547911e2ce8cc4a4a (
plain)
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
|
#ifndef FONTSPAGE_H
#define FONTSPAGE_H
#include "tabpage.h"
namespace Ui {
class FontsPage;
}
class QLabel;
class QSettings;
class FontsPage : public TabPage
{
Q_OBJECT
public:
explicit FontsPage(QWidget *parent = 0);
~FontsPage();
void writeSettings();
private slots:
void onFontChangeRequested(QWidget *widget);
void on_createFontsConfButton_clicked();
void on_removeFontsConfButton_clicked();
private:
void readSettings();
void loadFont(QSettings *settings, QLabel *label, const QString &key);
Ui::FontsPage *m_ui;
};
#endif // FONTSPAGE_H
|