aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicknativestyle/items/qquickstyleitemradiodelegate.h
blob: 3661ce792eb86c549399f703904d299d7a98c312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QQUICKSTYLEITEMRADIODELEGATE_H
#define QQUICKSTYLEITEMRADIODELEGATE_H

#include "qquickstyleitemradiobutton.h"

QT_BEGIN_NAMESPACE

class QQuickStyleItemRadioDelegate : public QQuickStyleItemRadioButton
{
    Q_OBJECT
    QML_NAMED_ELEMENT(RadioDelegate)

protected:
    void connectToControl() const override;

private:
    void initStyleOption(QStyleOptionButton &styleOption) const override;
};

QT_END_NAMESPACE

#endif // QQUICKSTYLEITEMRADIODELEGATE_H