KD Chart API Documentation
3.1
Loading...
Searching...
No Matches
source
src
KDGantt
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
14
#include "
kdganttabstractrowcontroller.h
"
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
{
24
KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC
(
TreeViewRowController
)
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 */
KDGantt::AbstractRowController
Abstract baseclass for row controllers.
Definition
kdganttabstractrowcontroller.h:23
KDGantt::Span
A class representing a start point and a length.
Definition
kdganttglobal.h:285
KDGantt::TreeViewRowController
Definition
kdgantttreeviewrowcontroller.h:23
kdganttabstractrowcontroller.h
KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X)
Definition
kdganttglobal.h:146
KDGantt
Definition
kdganttabstractgrid.h:24
QAbstractProxyModel
QModelIndex
QObject::qobject_cast
T qobject_cast(QObject *object)
QTreeView
© 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 on Mon Jul 8 2024 00:00:52 for KD Chart API Documentation by doxygen 1.9.8