File indexing completed on 2024-05-12 04:20:45
0001 /* 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KGantt library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KGANTTTREEVIEWROWCONTROLLER_P_H 0010 #define KGANTTTREEVIEWROWCONTROLLER_P_H 0011 0012 #include "kgantttreeviewrowcontroller.h" 0013 0014 #include <QTreeView> 0015 0016 QT_BEGIN_NAMESPACE 0017 class QAbstractProxyModel; 0018 QT_END_NAMESPACE 0019 0020 namespace KGantt { 0021 class Q_DECL_HIDDEN TreeViewRowController::Private { 0022 public: 0023 class HackTreeView : public QTreeView { 0024 public: 0025 using QTreeView::verticalOffset; 0026 using QTreeView::rowHeight; 0027 }; 0028 HackTreeView* treeview; 0029 QAbstractProxyModel* proxy; 0030 }; 0031 } 0032 0033 #endif /* KGANTTTREEVIEWROWCONTROLLER_P_H */ 0034