![]() |
KD Chart API Documentation
3.1
|
Abstract baseclass for row controllers. More...
#include <KDGanttAbstractRowController>
Public Member Functions | |
AbstractRowController () | |
Constructor. More... | |
virtual | ~AbstractRowController () |
Destructor. More... | |
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 |
Abstract baseclass for row controllers.
A row controller is used by the GraphicsView to navigate the model and to determine the row geometries
Definition at line 22 of file kdganttabstractrowcontroller.h.
AbstractRowController::AbstractRowController | ( | ) |
|
virtual |
|
pure virtual |
Implement this to control how much space is reserved at the top of the view for a header
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid().
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid().
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid().
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
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::TreeViewRowController, and KDGantt::ListViewRowController.
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
Referenced by KDGantt::GraphicsItem::updateItem().
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
Referenced by KDGantt::DateTimeGrid::paintGrid(), and KDGantt::GraphicsScene::updateRow().
|
pure virtual |
Implemented in KDGantt::TreeViewRowController, and KDGantt::ListViewRowController.
Referenced by KDGantt::GraphicsView::resizeEvent(), and KDGantt::GraphicsView::updateSceneRect().