KD Chart API Documentation
3.1
Loading...
Searching...
No Matches
source
src
KDGantt
kdganttlistviewrowcontroller.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 KDGANTTLISTVIEWROWCONTROLLER_H
12
#define KDGANTTLISTVIEWROWCONTROLLER_H
13
14
#include "
kdganttabstractrowcontroller.h
"
15
16
QT_BEGIN_NAMESPACE
17
class
QAbstractProxyModel
;
18
class
QListView
;
19
QT_END_NAMESPACE
20
21
namespace
KDGantt
{
22
class
KDGANTT_EXPORT
ListViewRowController
:
public
AbstractRowController
23
{
24
KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC
(
ListViewRowController
)
25
public
:
26
ListViewRowController
(
QListView
*lv,
QAbstractProxyModel
*proxy);
27
~ListViewRowController
()
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
/* KDGANTTLISTVIEWROWCONTROLLER_H */
KDGantt::AbstractRowController
Abstract baseclass for row controllers.
Definition
kdganttabstractrowcontroller.h:23
KDGantt::ListViewRowController
Definition
kdganttlistviewrowcontroller.h:23
KDGantt::Span
A class representing a start point and a length.
Definition
kdganttglobal.h:285
kdganttabstractrowcontroller.h
KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X)
Definition
kdganttglobal.h:146
KDGantt
Definition
kdganttabstractgrid.h:24
QAbstractProxyModel
QListView
QModelIndex
QObject::qobject_cast
T qobject_cast(QObject *object)
© 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 Fri Apr 26 2024 00:04:57 for KD Chart API Documentation by doxygen 1.9.8