1// Copyright (C) 2023 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
4#ifndef QQUICKSTYLEITEMRADIODELEGATE_H
5#define QQUICKSTYLEITEMRADIODELEGATE_H
6
7#include "qquickstyleitemradiobutton.h"
8
9QT_BEGIN_NAMESPACE
10
11class QQuickStyleItemRadioDelegate : public QQuickStyleItemRadioButton
12{
13 Q_OBJECT
14 QML_NAMED_ELEMENT(RadioDelegate)
15
16protected:
17 void connectToControl() const override;
18
19private:
20 void initStyleOption(QStyleOptionButton &styleOption) const override;
21};
22
23QT_END_NAMESPACE
24
25#endif // QQUICKSTYLEITEMRADIODELEGATE_H
26

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtdeclarative/src/quicknativestyle/items/qquickstyleitemradiodelegate.h