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
qquickmenuitemiconlabel_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 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
QQUICKMENUITEMICONLABEL_P_H
6
#
define
QQUICKMENUITEMICONLABEL_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtQuickControls2Impl
/
private
/
qquickiconlabel_p
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QQuickMenuItem;
24
class
QQuickMenuItemIconLabelPrivate;
25
26
class
Q_AUTOTEST_EXPORT
QQuickMenuItemIconLabel
:
public
QQuickIconLabel
27
{
28
Q_OBJECT
29
Q_PROPERTY(QQuickMenuItem *menuItem READ menuItem WRITE setMenuItem NOTIFY menuItemChanged FINAL)
30
QML_NAMED_ELEMENT(MenuItemIconLabel)
31
QML_ADDED_IN_VERSION(6, 12)
32
33
public
:
34
explicit
QQuickMenuItemIconLabel(QQuickItem *parent =
nullptr
);
35
~QQuickMenuItemIconLabel();
36
37
QQuickMenuItem *menuItem()
const
;
38
void
setMenuItem(QQuickMenuItem *menuItem);
39
40
signals:
41
void
menuItemChanged();
42
43
protected
:
44
void
componentComplete() override;
45
46
private
:
47
Q_DISABLE_COPY(QQuickMenuItemIconLabel)
48
Q_DECLARE_PRIVATE(QQuickMenuItemIconLabel)
49
};
50
51
QT_END_NAMESPACE
52
53
#
endif
// QQUICKMENUITEMICONLABEL_P_H
QQuickMenuItemIconLabel
Definition
qquickmenuitemiconlabel_p.h:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
quickcontrolsimpl
qquickmenuitemiconlabel_p.h
Generated on
for Qt by
1.18.0