Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qplatformthemeplugin.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QPLATFORMTHEMEPLUGIN_H
6#define QPLATFORMTHEMEPLUGIN_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is part of the QPA API and is not meant to be used
13// in applications. Usage of this API may make your code
14// source and binary incompatible with future versions of Qt.
15//
16
17#include <QtGui/qtguiglobal.h>
18#include <QtCore/qplugin.h>
19#include <QtCore/qfactoryinterface.h>
20
21QT_BEGIN_NAMESPACE
22
23class QPlatformTheme;
24
25#define QPlatformThemeFactoryInterface_iid "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1"
26
27class Q_GUI_EXPORT QPlatformThemePlugin : public QObject
28{
29 Q_OBJECT
30public:
31 explicit QPlatformThemePlugin(QObject *parent = nullptr);
32 ~QPlatformThemePlugin();
33
34 virtual QPlatformTheme *create(const QString &key, const QStringList &paramList) = 0;
35};
36
37QT_END_NAMESPACE
38
39#endif // QPLATFORMTHEMEPLUGIN_H
The QPlatformThemePlugin class provides an abstraction for theme plugins.
Combined button and popup list for selecting options.