Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtquickcontrols2materialstyleplugin.cpp
Go to the documentation of this file.
1// Copyright (C) 2017 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
6
7#include <QtQuickControls2/private/qquickstyleplugin_p.h>
8#include <QtQuickControls2Impl/private/qquickpaddedrectangle_p.h>
9#include <QtQuickTemplates2/private/qquicktheme_p.h>
10
12
15
17{
20
21public:
23
24 QString name() const override;
25 void initializeTheme(QQuickTheme *theme) override;
26
28};
29
31{
34}
35
37{
38 return QStringLiteral("Material");
39}
40
42{
44 this->theme.initialize(theme);
45}
46
48
49#include "qtquickcontrols2materialstyleplugin.moc"
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
#define QQmlExtensionInterface_iid
#define Q_GHS_KEEP_REFERENCE(S)
static const QQmlModuleRegistration registration("QtQml", qml_register_types_QtQml)
#define QStringLiteral(str)
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_UNUSED(x)
QT_BEGIN_NAMESPACE void qml_register_types_QtQuick_Controls_Material()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent