#include "GLViewer_Grid.h"
#include "GLViewer_Drawer.h"
-// TODO: Porting to Qt4
-//#include <QtxToolTip.h>
+#include <QtxToolTip.h>
#include <QHBoxLayout>
#include <QMouseEvent>
mypFirstPoint = NULL;
mypLastPoint = NULL;
- // TODO: Porting to Qt4
- /*myObjectTip = new QtxToolTip( myGLWidget );///GLViewer_ObjectTip( this );
- myObjectTip->setShowDelayTime( 60000 );
- connect( myObjectTip, SIGNAL( maybeTip( QPoint, QString&, QFont&, QRect&, QRect& ) ),
- this, SLOT( onMaybeTip( QPoint, QString&, QFont&, QRect&, QRect& ) ) );*/
-// myGLWidget->installEventFilter( myObjectTip );
+ myObjectTip = new QtxToolTip( myGLWidget );///GLViewer_ObjectTip( this );
+ myObjectTip->setShowDelayTime( 60000 );
+ connect( myObjectTip, SIGNAL( maybeTip( QPoint, QString&, QFont&, QRect&, QRect& ) ),
+ this, SLOT( onMaybeTip( QPoint, QString&, QFont&, QRect&, QRect& ) ) );
+ //myGLWidget->installEventFilter( myObjectTip );
}
/*!