Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtquickcontrols2iosstyleplugin.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 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 "qquickiostheme_p.h"
5
6#include <QtCore/qloggingcategory.h>
7#include <QtQml/qqml.h>
8#include <QtQuickControls2/private/qquickstyleplugin_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 void updateTheme() override;
27
29};
30
32{
35}
36
38{
39 return QStringLiteral("iOS");
40}
41
43{
44 m_theme.initialize(theme);
45}
46
48{
50 m_theme.initialize(theme);
51}
52
54
55#include "qtquickcontrols2iosstyleplugin.moc"
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
static void initialize(QQuickTheme *theme)
static QQuickTheme * instance()
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
void initializeTheme(QQuickTheme *theme) override
QtQuickControls2IOSStylePlugin(QObject *parent=nullptr)
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_iOS()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent