| 1 | // Copyright (C) 2025 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 QQUICKTABLEVIEWDELEGATE_P_P_H |
| 5 | #define QQUICKTABLEVIEWDELEGATE_P_P_H |
| 6 | |
| 7 | // |
| 8 | // W A R N I N G |
| 9 | // ------------- |
| 10 | // |
| 11 | // This file is not part of the Qt API. It exists purely as an |
| 12 | // implementation detail. This header file may change from version to |
| 13 | // version without notice, or even be removed. |
| 14 | // |
| 15 | // We mean it. |
| 16 | // |
| 17 | |
| 18 | #include <QtQuickTemplates2/private/qquickitemdelegate_p_p.h> |
| 19 | |
| 20 | QT_BEGIN_NAMESPACE |
| 21 | |
| 22 | class QQuickTableViewDelegatePrivate : public QQuickItemDelegatePrivate |
| 23 | { |
| 24 | public: |
| 25 | Q_DECLARE_PUBLIC(QQuickTableViewDelegate) |
| 26 | |
| 27 | QPalette defaultPalette() const override; |
| 28 | |
| 29 | public: |
| 30 | QPointer<QQuickTableView> m_tableView; |
| 31 | bool current = false; |
| 32 | bool selected = false; |
| 33 | bool editing = false; |
| 34 | }; |
| 35 | |
| 36 | QT_END_NAMESPACE |
| 37 | |
| 38 | #endif // QQUICKTABLEVIEWDELEGATE_P_P_H |
| 39 | |