21 #ifndef _Tulip_MOUSESHOWELEMENTINFOS_H 
   22 #define _Tulip_MOUSESHOWELEMENTINFOS_H 
   24 #include <tulip/InteractorComposite.h> 
   25 #include <tulip/Graph.h> 
   28 class ElementInformationsWidget;
 
   32 class QGraphicsProxyWidget;
 
   34 class QAbstractItemModel;
 
   41 struct SelectedEntity;
 
   46 class TLP_QT_SCOPE MouseShowElementInfos : 
public InteractorComponent {
 
   48   Ui::ElementInformationsWidget* _ui;
 
   50   MouseShowElementInfos();
 
   51   ~MouseShowElementInfos();
 
   52   virtual bool eventFilter(QObject* widget, QEvent* e);
 
   54   void viewChanged(View *);
 
   58   virtual bool pick(
int x, 
int y, SelectedEntity &selectedEntity);
 
   63   QWidget *_informationsWidget;
 
   64   QGraphicsProxyWidget *_informationsWidgetItem;
 
   66   QTableView* tableView() 
const;
 
   75   virtual QAbstractItemModel* buildModel(
ElementType elementType, 
unsigned int elementId, QObject *parent)
const;
 
   82   virtual QString elementName(
ElementType elementType, 
unsigned int elementId)
const;