Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
main.cpp
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#include <qpa/qplatformthemeplugin.h>
5#include "qgtk3theme.h"
6
8
10{
13
14public:
15 QPlatformTheme *create(const QString &key, const QStringList &params) override;
16};
17
19{
22 return new QGtk3Theme;
23
24 return nullptr;
25}
26
28
29#include "main.moc"
QPlatformTheme * create(const QString &key, const QStringList &params) override
Definition main.cpp:18
static const char * name
Definition qgtk3theme.h:35
The QPlatformThemePlugin class provides an abstraction for theme plugins.
The QPlatformTheme class allows customizing the UI based on themes.
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
@ CaseInsensitive
GLuint64 key
void ** params
#define QPlatformThemeFactoryInterface_iid
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_UNUSED(x)
view create()