#include <kdgantttreeviewrowcontroller.h>
Public Member Functions | |
int | headerHeight () const |
QModelIndex | indexAbove (const QModelIndex &idx) const |
QModelIndex | indexAt (int height) const |
QModelIndex | indexBelow (const QModelIndex &idx) const |
bool | isRowExpanded (const QModelIndex &idx) const |
bool | isRowVisible (const QModelIndex &idx) const |
int | maximumItemHeight () const |
Span | rowGeometry (const QModelIndex &idx) const |
int | totalHeight () const |
TreeViewRowController (QTreeView *tv, QAbstractProxyModel *proxy) | |
virtual | ~TreeViewRowController () |
Definition at line 32 of file kdgantttreeviewrowcontroller.h.
TreeViewRowController::TreeViewRowController | ( | QTreeView * | tv, | |
QAbstractProxyModel * | proxy | |||
) |
Definition at line 39 of file kdgantttreeviewrowcontroller.cpp.
TreeViewRowController::~TreeViewRowController | ( | ) | [virtual] |
Definition at line 47 of file kdgantttreeviewrowcontroller.cpp.
int TreeViewRowController::headerHeight | ( | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 54 of file kdgantttreeviewrowcontroller.cpp.
References d.
QModelIndex TreeViewRowController::indexAbove | ( | const QModelIndex & | idx | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 119 of file kdgantttreeviewrowcontroller.cpp.
References d.
QModelIndex TreeViewRowController::indexAt | ( | int | height | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 93 of file kdgantttreeviewrowcontroller.cpp.
References d.
QModelIndex TreeViewRowController::indexBelow | ( | const QModelIndex & | idx | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 125 of file kdgantttreeviewrowcontroller.cpp.
References d.
bool TreeViewRowController::isRowExpanded | ( | const QModelIndex & | idx | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 78 of file kdgantttreeviewrowcontroller.cpp.
References d.
bool TreeViewRowController::isRowVisible | ( | const QModelIndex & | idx | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 70 of file kdgantttreeviewrowcontroller.cpp.
References d.
int TreeViewRowController::maximumItemHeight | ( | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 60 of file kdgantttreeviewrowcontroller.cpp.
References d.
Span TreeViewRowController::rowGeometry | ( | const QModelIndex & | idx | ) | const [virtual] |
Span MyRowCtrlr::rowGeometry(const QModelIndex& idx) { return Span(idx.row()*10,10); }
Implements KDGantt::AbstractRowController.
Definition at line 85 of file kdgantttreeviewrowcontroller.cpp.
References d.
int TreeViewRowController::totalHeight | ( | ) | const [virtual] |
Implements KDGantt::AbstractRowController.
Definition at line 65 of file kdgantttreeviewrowcontroller.cpp.
References d.