23 #include <tulip/tulipconf.h>
24 #include <tulip/View.h>
46 QSet<QGraphicsItem *> _items;
47 QGraphicsView* _graphicsView;
48 QWidget* _centralWidget;
49 QGraphicsItem* _centralWidgetItem;
51 void refreshItemsParenthood();
61 virtual QGraphicsView* graphicsView()
const;
68 virtual void setupUi();
84 virtual void graphDeleted(
Graph *parentGraph);
92 virtual void setupWidget()=0;
98 void addToScene(QGraphicsItem* item);
104 void removeFromScene(QGraphicsItem* item);
111 void setCentralWidget(QWidget*,
bool deleteOldCentralWidget=
true);
117 virtual QGraphicsItem* centralItem()
const;
119 QPixmap snapshot(
const QSize &outputSize=QSize())
const;
124 #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...