Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qtquickcontrols2basicstyleplugin.cpp
Go to the documentation of this file.
1// Copyright (C) 2020 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 <QtQuickTemplates2/private/qquicktheme_p.h>
9
11
14
16{
19
20public:
22
23 QString name() const override;
24 void initializeTheme(QQuickTheme *theme) override;
25
27};
28
30{
33}
34
36{
37 return QStringLiteral("Basic");
38}
39
41{
42 this->theme.initialize(theme);
43}
44
46
47#include "qtquickcontrols2basicstyleplugin.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
void initializeTheme(QQuickTheme *theme) override
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_Basic()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent