kdgantt2
#include <kdganttgraphicsscene.h>
|
| GraphicsScene (QObject *parent=0) |
|
virtual | ~GraphicsScene () |
|
void | clearConstraintItems () |
|
void | clearItems () |
|
ConstraintModel * | constraintModel () const |
|
GraphicsItem * | createItem (ItemType type) const |
|
void | deleteSubtree (const QModelIndex &) |
|
GraphicsItem * | dragSource () const |
|
ConstraintGraphicsItem * | findConstraintItem (const Constraint &) const |
|
QList< ConstraintGraphicsItem * > | findConstraintItems (const QModelIndex &idx) const |
|
GraphicsItem * | findItem (const QModelIndex &) const |
|
GraphicsItem * | findItem (const QPersistentModelIndex &) const |
|
AbstractGrid * | grid () const |
|
void | insertItem (const QPersistentModelIndex &, GraphicsItem *) |
|
bool | isReadOnly () const |
|
void | itemClicked (const QModelIndex &) |
|
ItemDelegate * | itemDelegate () const |
|
void | itemDoubleClicked (const QModelIndex &) |
|
void | itemEntered (const QModelIndex &) |
|
void | itemPressed (const QModelIndex &) |
|
QAbstractItemModel * | model () const |
|
void | print (QPrinter *printer, bool drawRowLabels=true) |
|
void | print (QPrinter *printer, qreal start, qreal end, bool drawRowLabels=true) |
|
void | print (QPainter *painter, const QRectF &target=QRectF(), bool drawRowLabels=true) |
|
void | print (QPainter *painter, qreal start, qreal end, const QRectF &target=QRectF(), bool drawRowLabels=true) |
|
void | removeItem (const QModelIndex &) |
|
QModelIndex | rootIndex () const |
|
AbstractRowController * | rowController () const |
|
QItemSelectionModel * | selectionModel () const |
|
void | setDragSource (GraphicsItem *item) |
|
void | setGrid (AbstractGrid *grid) |
|
void | setItemDelegate (ItemDelegate *) |
|
void | setRowController (AbstractRowController *rc) |
|
QAbstractProxyModel * | summaryHandlingModel () const |
|
void | updateItems () |
|
void | updateRow (const QModelIndex &idx) |
|
|
static QModelIndex | dataIndex (const QModelIndex &idx) |
|
static QModelIndex | mainIndex (const QModelIndex &idx) |
|
Definition at line 48 of file kdganttgraphicsscene.h.
KDGantt::GraphicsScene::GraphicsScene |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
GraphicsScene::~GraphicsScene |
( |
| ) |
|
|
virtual |
void GraphicsScene::clearConstraintItems |
( |
| ) |
|
void GraphicsScene::clearItems |
( |
| ) |
|
void KDGantt::GraphicsScene::clicked |
( |
const QModelIndex & |
index | ) |
|
|
signal |
Creates a new item of type type. TODO: If the user should be allowed to override this in any way, it needs to be in View!
Definition at line 336 of file kdganttgraphicsscene.cpp.
QModelIndex GraphicsScene::dataIndex |
( |
const QModelIndex & |
idx | ) |
|
|
static |
void GraphicsScene::deleteSubtree |
( |
const QModelIndex & |
_idx | ) |
|
void KDGantt::GraphicsScene::doubleClicked |
( |
const QModelIndex & |
index | ) |
|
|
signal |
void GraphicsScene::drawBackground |
( |
QPainter * |
painter, |
|
|
const QRectF & |
rect |
|
) |
| |
|
protected |
void KDGantt::GraphicsScene::entered |
( |
const QModelIndex & |
index | ) |
|
|
signal |
GraphicsItem * GraphicsScene::findItem |
( |
const QModelIndex & |
idx | ) |
const |
GraphicsItem * GraphicsScene::findItem |
( |
const QPersistentModelIndex & |
idx | ) |
const |
void KDGantt::GraphicsScene::gridChanged |
( |
| ) |
|
|
signal |
void GraphicsScene::helpEvent |
( |
QGraphicsSceneHelpEvent * |
helpEvent | ) |
|
|
protected |
void GraphicsScene::insertItem |
( |
const QPersistentModelIndex & |
idx, |
|
|
GraphicsItem * |
item |
|
) |
| |
bool GraphicsScene::isReadOnly |
( |
| ) |
const |
void GraphicsScene::itemClicked |
( |
const QModelIndex & |
idx | ) |
|
void GraphicsScene::itemDoubleClicked |
( |
const QModelIndex & |
idx | ) |
|
void GraphicsScene::itemEntered |
( |
const QModelIndex & |
idx | ) |
|
void GraphicsScene::itemPressed |
( |
const QModelIndex & |
idx | ) |
|
QModelIndex GraphicsScene::mainIndex |
( |
const QModelIndex & |
idx | ) |
|
|
static |
QAbstractItemModel * GraphicsScene::model |
( |
| ) |
const |
void KDGantt::GraphicsScene::pressed |
( |
const QModelIndex & |
index | ) |
|
|
signal |
void GraphicsScene::print |
( |
QPrinter * |
printer, |
|
|
bool |
drawRowLabels = true |
|
) |
| |
Print the Gantt chart using printer. If drawRowLabels is true (the default), each row will have it's label printed on the left side.
This version of print() will print multiple pages.
Definition at line 632 of file kdganttgraphicsscene.cpp.
void GraphicsScene::print |
( |
QPrinter * |
printer, |
|
|
qreal |
start, |
|
|
qreal |
end, |
|
|
bool |
drawRowLabels = true |
|
) |
| |
void GraphicsScene::print |
( |
QPainter * |
painter, |
|
|
const QRectF & |
_targetRect = QRectF() , |
|
|
bool |
drawRowLabels = true |
|
) |
| |
Render the GanttView inside the rectangle target using the painter painter. If drawRowLabels is true (the default), each row will have it's label printed on the left side.
Definition at line 664 of file kdganttgraphicsscene.cpp.
void GraphicsScene::print |
( |
QPainter * |
painter, |
|
|
qreal |
start, |
|
|
qreal |
end, |
|
|
const QRectF & |
_targetRect = QRectF() , |
|
|
bool |
drawRowLabels = true |
|
) |
| |
void GraphicsScene::removeItem |
( |
const QModelIndex & |
idx | ) |
|
QModelIndex GraphicsScene::rootIndex |
( |
| ) |
const |
QItemSelectionModel * GraphicsScene::selectionModel |
( |
| ) |
const |
void GraphicsScene::setItemDelegate |
( |
ItemDelegate * |
delegate | ) |
|
void GraphicsScene::setModel |
( |
QAbstractItemModel * |
model | ) |
|
|
slot |
void GraphicsScene::setReadOnly |
( |
bool |
ro | ) |
|
|
slot |
void GraphicsScene::setRootIndex |
( |
const QModelIndex & |
idx | ) |
|
|
slot |
void GraphicsScene::setSelectionModel |
( |
QItemSelectionModel * |
selectionmodel | ) |
|
|
slot |
void GraphicsScene::updateItems |
( |
| ) |
|
void GraphicsScene::updateRow |
( |
const QModelIndex & |
idx | ) |
|
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.