KD Chart 2
[rev.2.7]
|
Abstract baseclass for row controllers. A row controller is used by the GraphicsView to nagivate the model and to determine the row geometries. More...
#include <KDGanttAbstractRowController>
Public Member Functions | |
AbstractRowController () | |
virtual int | headerHeight () const =0 |
virtual QModelIndex | indexAbove (const QModelIndex &idx) const =0 |
virtual QModelIndex | indexAt (int height) const =0 |
virtual QModelIndex | indexBelow (const QModelIndex &idx) const =0 |
virtual bool | isRowExpanded (const QModelIndex &idx) const =0 |
virtual bool | isRowVisible (const QModelIndex &idx) const =0 |
virtual int | maximumItemHeight () const =0 |
virtual Span | rowGeometry (const QModelIndex &idx) const =0 |
virtual int | totalHeight () const =0 |
virtual | ~AbstractRowController () |
Abstract baseclass for row controllers. A row controller is used by the GraphicsView to nagivate the model and to determine the row geometries.
Definition at line 34 of file kdganttabstractrowcontroller.h.
AbstractRowController::AbstractRowController | ( | ) |
Constructor. Does nothing
Definition at line 35 of file kdganttabstractrowcontroller.cpp.
|
virtual |
Destructor. Does nothing
Definition at line 40 of file kdganttabstractrowcontroller.cpp.
|
pure virtual |
Implement this to control how much space is reserved at the top of the view for a header
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid().
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid().
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid().
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::GraphicsScene::updateRow().
|
pure virtual |
Implement this to allow KDGantt to optimize how items on screen are created. It is not harmful to always return true here, but the View will not perform optimally.
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::GraphicsItem::updateItem().
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid(), KDGantt::GraphicsScene::print(), and KDGantt::GraphicsScene::updateRow().
|
pure virtual |
Implemented in KDGantt::ListViewRowController, and KDGantt::TreeViewRowController.
Referenced by KDGantt::GraphicsView::resizeEvent(), and KDGantt::GraphicsView::updateSceneRect().