Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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_EXPORT QQuickRadioDelegatePrivate : public QQuickItemDelegatePrivate
63{
64 Q_DECLARE_PUBLIC(QQuickRadioDelegate)
65
66public:
68};
69
76
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:22
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:63
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.