QtCanpool 3.3.0
载入中...
搜索中...
未找到
windowstyleagent_p.h
浏览该文件的文档.
1#ifndef STYLEAGENTPRIVATE_H
2#define STYLEAGENTPRIVATE_H
3
4//
5// W A R N I N G !!!
6// -----------------
7//
8// This file is not part of the QxWindow API. It is used purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or may even be removed.
11//
12
13#include "windowstyleagent.h"
14#include <QtCore/QHash>
15
17
18class WindowStyleAgentPrivate : public QObject
19{
20 Q_DECLARE_PUBLIC(WindowStyleAgent)
21public:
23 ~WindowStyleAgentPrivate() override;
24
25 void init();
26
28
29 WindowStyleAgent::SystemTheme systemTheme = WindowStyleAgent::Unknown;
30
31 void setupSystemThemeHook();
32 void removeSystemThemeHook();
33
34 void notifyThemeChanged(WindowStyleAgent::SystemTheme theme);
35};
36
38
39#endif // STYLEAGENTPRIVATE_H
WindowStyleAgent provides some features related to system theme.
#define QX_WINDOW_END_NAMESPACE
#define QX_WINDOW_BEGIN_NAMESPACE