23 #include <tulip/tulipconf.h> 24 #include <tulip/View.h> 52 QSet<QGraphicsItem *> _items;
53 QGraphicsView *_graphicsView;
54 QWidget *_centralWidget;
55 QGraphicsItem *_centralWidgetItem;
57 void refreshItemsParenthood();
67 QGraphicsView *graphicsView()
const override;
68 void resetGraphicsScene()
override {}
75 void setupUi()
override;
92 void graphDeleted(
Graph *parentGraph)
override;
102 virtual void setupWidget() = 0;
108 void addToScene(QGraphicsItem *item);
114 void removeFromScene(QGraphicsItem *item);
123 void setCentralWidget(QWidget *,
bool deleteOldCentralWidget =
true);
129 QGraphicsItem *centralItem()
const override;
131 QPixmap snapshot(
const QSize &outputSize = QSize())
const override;
135 #endif // VIEWWIDGET_H
Interactor provides a way to handle user inputs over a view. Basically, The interactor class is an ov...
View plugins provide a way to dynamically add to a Tulip plateform various ways to visualize a graph...