blob: 8a6635efdc27dba2427377a723d89bc3bf26ba95 (
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
|
#ifndef ICONTHEMEPAGE_H
#define ICONTHEMEPAGE_H
#include <QIcon>
#include "tabpage.h"
namespace Ui {
class IconThemePage;
}
class IconThemePage : public TabPage
{
Q_OBJECT
public:
explicit IconThemePage(QWidget *parent = 0);
~IconThemePage();
void writeSettings();
private:
void readSettings();
void loadThemes();
void loadTheme(const QString &path);
QIcon findIcon(const QString &themePath, int size, const QString &name);
Ui::IconThemePage *m_ui;
};
#endif // ICONTHEMEPAGE_H
|