21 #ifndef _Tulip_MOUSESHOWELEMENTINFOS_H
22 #define _Tulip_MOUSESHOWELEMENTINFOS_H
24 #include <QtGui/QMouseEvent>
25 #include <QtGui/QWidget>
26 #include <QtGui/QTableView>
27 #include <QtGui/QGraphicsProxyWidget>
28 #include <tulip/ViewWidget.h>
29 #include <tulip/GlScene.h>
31 #include <tulip/InteractorComposite.h>
39 class TLP_QT_SCOPE MouseShowElementInfos :
public InteractorComponent {
41 MouseShowElementInfos();
42 virtual bool eventFilter(QObject* widget, QEvent* e);
44 void viewChanged(View *);
48 virtual bool pick(
int x,
int y, SelectedEntity &selectedEntity);
53 QWidget *_informationsWidget;
54 QGraphicsProxyWidget *_informationsWidgetItem;
56 QTableView* tableView()
const;
65 virtual QAbstractItemModel* buildModel(
ElementType elementType,
unsigned int elementId, QObject *parent)
const;
72 virtual QString elementName(
ElementType elementType,
unsigned int elementId)
const;