20 #ifndef INTERACTORCOMPOSITE_H 21 #define INTERACTORCOMPOSITE_H 23 #include <tulip/Interactor.h> 39 class TLP_QT_SCOPE InteractorComponent :
public QObject {
56 bool eventFilter(QObject *, QEvent *)
override;
61 virtual void clear() {}
67 void setView(View *view);
77 virtual void viewChanged(View *) {}
101 QObject *_lastTarget;
104 QList<tlp::InteractorComponent *> _components;
110 void setLastTarget(QObject *);
117 QObject *lastTarget()
const;
120 void lastTargetDestroyed();
123 typedef QList<InteractorComponent *>::iterator iterator;
124 typedef QList<InteractorComponent *>::const_iterator const_iterator;
135 QAction *action()
const override;
136 QCursor cursor()
const override;
152 const_iterator begin()
const;
157 const_iterator end()
const;
162 void push_back(InteractorComponent *component);
167 void push_front(InteractorComponent *component);
170 void undoIsDone()
override;
172 void install(QObject *target)
override;
173 void uninstall()
override;
176 #endif // INTERACTORCOMPOSITE_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...