KD Chart API Documentation  3.1
kdgantttreeviewrowcontroller.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Chart library.
4 **
5 ** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDGANTTTREEVIEWROWCONTROLLER_H
12 #define KDGANTTTREEVIEWROWCONTROLLER_H
13 
15 
16 QT_BEGIN_NAMESPACE
17 class QAbstractProxyModel;
18 class QTreeView;
19 QT_END_NAMESPACE
20 
21 namespace KDGantt {
22 class KDGANTT_EXPORT TreeViewRowController : public AbstractRowController
23 {
25 public:
26  TreeViewRowController(QTreeView *tv, QAbstractProxyModel *proxy);
27  ~TreeViewRowController() override;
28 
29  /*reimp*/ int headerHeight() const override;
30  /*reimp*/ int maximumItemHeight() const override;
31  /*reimp*/ int totalHeight() const override;
32  /*reimp*/ bool isRowVisible(const QModelIndex &idx) const override;
33  /*reimp*/ bool isRowExpanded(const QModelIndex &idx) const override;
34  /*reimp*/ Span rowGeometry(const QModelIndex &idx) const override;
35  /*reimp*/ QModelIndex indexAt(int height) const override;
36  /*reimp*/ QModelIndex indexAbove(const QModelIndex &idx) const override;
37  /*reimp*/ QModelIndex indexBelow(const QModelIndex &idx) const override;
38 };
39 }
40 
41 #endif /* KDGANTTTREEVIEWROWCONTROLLER_H */
Abstract baseclass for row controllers.
A class representing a start point and a length.
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X)

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated by doxygen 1.9.1