aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicknativestyle/items/qquickstyleitemcheckdelegate.h
blob: 27ff42de255ae8f82d77799b4db0b443c625621e (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 QQUICKSTYLEITEMCHECKDELEGATE_H
#define QQUICKSTYLEITEMCHECKDELEGATE_H

#include "qquickstyleitemcheckbox.h"

QT_BEGIN_NAMESPACE

class QQuickStyleItemCheckDelegate : public QQuickStyleItemCheckBox
{
    Q_OBJECT
    QML_NAMED_ELEMENT(CheckDelegate)

protected:
    void connectToControl() const override;

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

QT_END_NAMESPACE

#endif // QQUICKSTYLEITEMCHECKDELEGATE_H