Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickradiodelegate.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
7
8#include <QtGui/qpa/qplatformtheme.h>
9
11
16
62class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickRadioDelegatePrivate : public QQuickItemDelegatePrivate
63{
64 Q_DECLARE_PUBLIC(QQuickRadioDelegate)
65
66public:
68};
69
72{
73 setCheckable(true);
74 setAutoExclusive(true);
75}
76
78{
80}
81
82#if QT_CONFIG(accessibility)
83QAccessible::Role QQuickRadioDelegate::accessibleRole() const
84{
85 return QAccessible::RadioButton;
86}
87#endif
88
90
91#include "moc_qquickradiodelegate_p.cpp"
\reentrant
Definition qfont.h:20
The QPalette class contains color groups for each widget state.
Definition qpalette.h:19
void setAutoExclusive(bool exclusive)
void setCheckable(bool checkable)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:64
Exclusive item delegate with a radio indicator that can be toggled on or off.
QPalette defaultPalette() const override
QQuickRadioDelegate(QQuickItem *parent=nullptr)
QFont defaultFont() const override
static QPalette palette(Scope scope)
static QFont font(Scope scope)
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent