Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QPLATFORMTHEMEPLUGIN_H
5#define QPLATFORMTHEMEPLUGIN_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is part of the QPA API and is not meant to be used
12// in applications. Usage of this API may make your code
13// source and binary incompatible with future versions of Qt.
14//
15
16#include <QtGui/qtguiglobal.h>
17#include <QtCore/qplugin.h>
18#include <QtCore/qfactoryinterface.h>
19
21
22class QPlatformTheme;
23
24#define QPlatformThemeFactoryInterface_iid "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1"
25
26class Q_GUI_EXPORT QPlatformThemePlugin : public QObject
27{
29public:
30 explicit QPlatformThemePlugin(QObject *parent = nullptr);
32
33 virtual QPlatformTheme *create(const QString &key, const QStringList &paramList) = 0;
34};
35
37
38#endif // QPLATFORMTHEMEPLUGIN_H
\inmodule QtCore
Definition qobject.h:103
The QPlatformThemePlugin class provides an abstraction for theme plugins.
virtual QPlatformTheme * create(const QString &key, const QStringList &paramList)=0
The QPlatformTheme class allows customizing the UI based on themes.
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLuint64 key
#define Q_OBJECT