1 // Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 // File: Plot2d_ToolTip.h
20 // Author: Alexandre SOLOVYOV
22 #ifndef PLOT2D_TOOLTIP_H
23 #define PLOT2D_TOOLTIP_H
26 #include <QtxToolTip.h>
28 class Plot2d_ViewFrame;
31 class PLOT2D_EXPORT Plot2d_ToolTip : public QtxToolTip
36 Plot2d_ToolTip( Plot2d_ViewFrame*, Plot2d_Plot2d* );
37 virtual ~Plot2d_ToolTip();
40 void onToolTip( QPoint, QString&, QFont&, QRect&, QRect& );
43 virtual bool eventFilter( QObject*, QEvent* );
46 Plot2d_ViewFrame* myFrame;
47 Plot2d_Plot2d* myPlot;