kdgantt2
kdganttgraphicsscene.h
Go to the documentation of this file.
107 void print( QPainter* painter, qreal start, qreal end, const QRectF& target = QRectF(), bool drawRowLabels=true );
Class used to render gantt items in a KDGantt::GraphicsView.
Definition: kdganttitemdelegate.h:39
QItemSelectionModel * selectionModel() const
Definition: kdganttgraphicsscene.cpp:255
static QModelIndex mainIndex(const QModelIndex &idx)
Definition: kdganttgraphicsscene.cpp:301
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X)
Definition: kdganttglobal.h:121
void doubleClicked(const QModelIndex &index)
void itemDoubleClicked(const QModelIndex &)
Definition: kdganttgraphicsscene.cpp:611
void setSelectionModel(QItemSelectionModel *selectionmodel)
Definition: kdganttgraphicsscene.cpp:249
void setSummaryHandlingModel(QAbstractProxyModel *)
Definition: kdganttgraphicsscene.cpp:216
void setConstraintModel(ConstraintModel *)
Definition: kdganttgraphicsscene.cpp:237
void drawBackground(QPainter *painter, const QRectF &rect)
Definition: kdganttgraphicsscene.cpp:566
static QModelIndex dataIndex(const QModelIndex &idx)
Definition: kdganttgraphicsscene.cpp:318
void itemClicked(const QModelIndex &)
Definition: kdganttgraphicsscene.cpp:606
void setModel(QAbstractItemModel *)
Definition: kdganttgraphicsscene.cpp:203
void itemEntered(const QModelIndex &)
Definition: kdganttgraphicsscene.cpp:596
Definition: kdganttgraphicsscene.h:48
void setGrid(AbstractGrid *grid)
Definition: kdganttgraphicsscene.cpp:270
GraphicsItem * dragSource() const
Definition: kdganttgraphicsscene.cpp:621
ConstraintModel * constraintModel() const
Definition: kdganttgraphicsscene.cpp:232
void updateRow(const QModelIndex &idx)
Definition: kdganttgraphicsscene.cpp:370
QAbstractProxyModel * summaryHandlingModel() const
Definition: kdganttgraphicsscene.cpp:211
void setRowController(AbstractRowController *rc)
Definition: kdganttgraphicsscene.cpp:260
Abstract baseclass for grids. A grid is used to convert between QModelIndex'es and gantt chart values...
Definition: kdganttabstractgrid.h:40
void removeItem(QGraphicsItem *item)
QList< ConstraintGraphicsItem * > findConstraintItems(const QModelIndex &idx) const
void print(QPrinter *printer, bool drawRowLabels=true)
Definition: kdganttgraphicsscene.cpp:632
void clicked(const QModelIndex &index)
void entered(const QModelIndex &index)
void helpEvent(QGraphicsSceneHelpEvent *helpEvent)
Definition: kdganttgraphicsscene.cpp:552
void pressed(const QModelIndex &index)
void removeItem(const QModelIndex &)
Definition: kdganttgraphicsscene.cpp:451
void itemPressed(const QModelIndex &)
Definition: kdganttgraphicsscene.cpp:601
GraphicsScene(QObject *parent=0)
Definition: kdganttgraphicsscene.cpp:160
GraphicsItem * findItem(const QModelIndex &) const
Definition: kdganttgraphicsscene.cpp:474
ConstraintGraphicsItem * findConstraintItem(const Constraint &) const
Definition: kdganttgraphicsscene.cpp:524
void setDragSource(GraphicsItem *item)
Definition: kdganttgraphicsscene.cpp:616
ItemDelegate * itemDelegate() const
Definition: kdganttgraphicsscene.cpp:192
void deleteSubtree(const QModelIndex &)
Definition: kdganttgraphicsscene.cpp:508
QModelIndex rootIndex() const
Definition: kdganttgraphicsscene.cpp:227
AbstractRowController * rowController() const
Definition: kdganttgraphicsscene.cpp:265
virtual ~GraphicsScene()
Definition: kdganttgraphicsscene.cpp:166
GraphicsItem * createItem(ItemType type) const
Definition: kdganttgraphicsscene.cpp:336
void setItemDelegate(ItemDelegate *)
Definition: kdganttgraphicsscene.cpp:185
void insertItem(const QPersistentModelIndex &, GraphicsItem *)
Definition: kdganttgraphicsscene.cpp:418
QObject * parent() const
Definition: kdganttgraphicsitem.h:42
Abstract baseclass for row controllers. A row controller is used by the GraphicsView to nagivate the ...
Definition: kdganttabstractrowcontroller.h:34
QAbstractItemModel * model() const
Definition: kdganttgraphicsscene.cpp:197
void gridChanged()
void setRootIndex(const QModelIndex &idx)
Definition: kdganttgraphicsscene.cpp:222
void clearConstraintItems()
Definition: kdganttgraphicsscene.cpp:529
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.