QtCanpool 3.3.0
载入中...
搜索中...
未找到
windowstyleagent.h
浏览该文件的文档.
1#ifndef WINDOWSTYLEAGENT_H
2#define WINDOWSTYLEAGENT_H
3
5#include <QtCore/QObject>
6#include <QtGui/QWindow>
7#include <memory>
8
10
11class WindowStyleAgentPrivate;
12
13class QX_WINDOW_EXPORT WindowStyleAgent : public QObject
14{
15 Q_OBJECT
16 Q_DECLARE_PRIVATE(WindowStyleAgent)
17public:
18 explicit WindowStyleAgent(QObject *parent = nullptr);
19 ~WindowStyleAgent() override;
20
27 Q_ENUM(SystemTheme)
28public:
29 SystemTheme systemTheme() const;
30
31Q_SIGNALS:
33protected:
34 WindowStyleAgent(WindowStyleAgentPrivate &d, QObject *parent = nullptr);
35
36 const std::unique_ptr<WindowStyleAgentPrivate> d_ptr;
37};
38
40
41#endif // WINDOWSTYLEAGENT_H
WindowStyleAgent provides some features related to system theme.
const std::unique_ptr< WindowStyleAgentPrivate > d_ptr
void systemThemeChanged()
This signal is emitted when the system theme changes.
#define QX_WINDOW_END_NAMESPACE
#define QX_WINDOW_EXPORT
#define QX_WINDOW_BEGIN_NAMESPACE