Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickitemdelegate.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#include "qquickcontrol_p_p.h"
7
8#include <QtGui/qpa/qplatformtheme.h>
9
11
16
37{
39}
40
43{
45}
46
71{
72 Q_D(const QQuickItemDelegate);
73 return d->highlighted;
74}
75
77{
79 if (highlighted == d->highlighted)
80 return;
81
82 d->highlighted = highlighted;
84}
85
87{
89}
90
91#if QT_CONFIG(accessibility)
92QAccessible::Role QQuickItemDelegate::accessibleRole() const
93{
94 return QAccessible::ListItem;
95}
96#endif
97
99{
101}
102
104
105#include "moc_qquickitemdelegate_p.cpp"
\reentrant
Definition qfont.h:20
The QPalette class contains color groups for each widget state.
Definition qpalette.h:19
void setFocusPolicy(Qt::FocusPolicy policy)
QPalette defaultPalette() const override
QQuickItemDelegate(QQuickItem *parent=nullptr)
Basic item delegate that can be used in various views and controls.
QFont defaultFont() const override
bool isHighlighted() const
\qmlproperty bool QtQuick.Controls::ItemDelegate::highlighted
void setHighlighted(bool highlighted)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:64
static QPalette palette(Scope scope)
static QFont font(Scope scope)
Combined button and popup list for selecting options.
@ NoFocus
Definition qnamespace.h:106
#define emit
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent