21 #ifndef VIEW_TOOLTIP_AND_URL_MANAGER_H
22 #define VIEW_TOOLTIP_AND_URL_MANAGER_H
28 #include <tulip/View.h>
29 #include <tulip/DataSet.h>
34 class TLP_QT_SCOPE ViewToolTipAndUrlManager :
public QObject {
39 std::string _url, _contextMenuUrl;
42 ViewToolTipAndUrlManager(
tlp::View *view, QWidget *widget);
48 void fillContextMenu(QMenu *menu);
49 void fillContextMenu(QMenu *menu, node n);
50 void fillContextMenu(QMenu *menu, edge e);
53 void manageToolTips();
58 bool eventFilter(QObject *, QEvent *e)
override;
59 StringProperty *getAttributeProperty(
const std::string &attribute);
A container that can store data from any type.
View plugins provide a way to dynamically add to a Tulip plateform various ways to visualize a graph.