11#ifndef KDGANTTGRAPHICSSCENE_H
12#define KDGANTTGRAPHICSSCENE_H
15#include <QGraphicsScene>
29class AbstractRowController;
33class ConstraintGraphicsItem;
67 void clearConstraintItems();
78 bool isReadOnly()
const;
92 void print(
QPrinter *printer,
bool drawRowLabels =
true,
bool drawColumnLabels =
true);
93 void print(
QPrinter *printer, qreal start, qreal end,
bool drawRowLabels =
true,
bool drawColumnLabels =
true);
94 void print(
QPainter *painter,
const QRectF &target =
QRectF(),
bool drawRowLabels =
true,
bool drawColumnLabels =
true);
95 void print(
QPainter *painter, qreal start, qreal end,
const QRectF &target =
QRectF(),
bool drawRowLabels =
true,
bool drawColumnLabels =
true);
107 void drawBackground(
QPainter *painter,
const QRectF &rect)
override;
108 void drawForeground(
QPainter *painter,
const QRectF &rect)
override;
116 void setReadOnly(
bool);
122 void slotGridChanged();
126 qreal start, qreal end,
127 QPrinter *printer,
bool drawRowLabels,
bool drawColumnLabels);
Abstract baseclass for grids.
Abstract baseclass for row controllers.
The ConstraintModel keeps track of the interdependencies between gantt items in a View.
A class used to represent a dependency.
void entered(const QModelIndex &index)
void clicked(const QModelIndex &index)
void qrealClicked(const QModelIndex &index)
void pressed(const QModelIndex &index)
Class used to render gantt items in a KDGantt::GraphicsView.
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X)
void removeItem(QGraphicsItem *item)