Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qstyleplugin.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QSTYLEPLUGIN_H
6
#
define
QSTYLEPLUGIN_H
7
8
#
include
<
QtWidgets
/
qtwidgetsglobal
.
h
>
9
#
include
<
QtCore
/
qplugin
.
h
>
10
#
include
<
QtCore
/
qfactoryinterface
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
15
class
QStyle;
16
17
#
define
QStyleFactoryInterface_iid
"org.qt-project.Qt.QStyleFactoryInterface"
18
19
class
Q_WIDGETS_EXPORT
QStylePlugin
:
public
QObject
20
{
21
Q_OBJECT
22
public
:
23
explicit
QStylePlugin(QObject *parent =
nullptr
);
24
~QStylePlugin();
25
26
virtual
QStyle *create(
const
QString &key) = 0;
27
};
28
29
QT_END_NAMESPACE
30
31
#
endif
// QSTYLEPLUGIN_H
QStylePlugin
The QStylePlugin class provides an abstract base for custom QStyle plugins.
Definition
qstyleplugin.h:20
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Q_GLOBAL_STATIC_WITH_ARGS
Q_GLOBAL_STATIC_WITH_ARGS(PermissionStatusHash, g_permissionStatusHash,({ { qMetaTypeId< QCameraPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QMicrophonePermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QBluetoothPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QContactsPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QCalendarPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QLocationPermission >(), Qt::PermissionStatus::Undetermined } }))
QStyleFactoryInterface_iid
#define QStyleFactoryInterface_iid
Definition
qstyleplugin.h:17
qtbase
src
widgets
styles
qstyleplugin.h
Generated on
for Qt by
1.18.0