#include <Plot2d_ToolTip.h>
Public Slots |
| void | onToolTip (QPoint, QString &, QFont &, QRect &, QRect &) |
Signals |
| void | maybeTip (QPoint, QString &, QFont &, QRect &, QRect &) |
Public Member Functions |
| | Plot2d_ToolTip (Plot2d_ViewFrame *) |
| virtual | ~Plot2d_ToolTip () |
| virtual bool | eventFilter (QObject *, QEvent *) |
| void | hideTip () |
| virtual void | showTip (const QPoint &aPos, const QString &text, const QRect &aWidgetRegion) |
| virtual void | showTip (const QRect &aRegion, const QString &text, const QRect &aWidgetRegion) |
| void | setWakeUpDelayTime (int) |
| void | setShowDelayTime (int) |
| int | wakeUpDelayTime () const |
| int | showDelayTime () const |
Protected Slots |
| void | onSleepTimeOut () |
| void | onWakeUpTimeOut () |
Protected Member Functions |
| virtual void | maybeTip (const QPoint &) |
| virtual void | mousePressEvent (QMouseEvent *) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *) |
| QTimer * | sleepTimer () const |
| QTimer * | wakeUpTimer () const |
Private Attributes |
| Plot2d_ViewFrame * | myFrame |
Constructor & Destructor Documentation
| Plot2d_ToolTip::~Plot2d_ToolTip |
( |
| ) |
[virtual] |
Member Function Documentation
| bool Plot2d_ToolTip::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| [virtual] |
| void Plot2d_ToolTip::onToolTip |
( |
QPoint |
p, |
|
|
QString & |
str, |
|
|
QFont & |
f, |
|
|
QRect & |
txtRect, |
|
|
QRect & |
rect |
|
) |
| [slot] |
| void QtxToolTip::hideTip |
( |
| ) |
[inherited] |
| void QtxToolTip::showTip |
( |
const QPoint & |
aPos, |
|
|
const QString & |
text, |
|
|
const QRect & |
aWidgetRegion |
|
) |
| [virtual, inherited] |
Shows tool tip
- Parameters:
-
| aPos | - position |
| text | - tooltip text |
| aWidgetRegion | - rectangle |
| void QtxToolTip::showTip |
( |
const QRect & |
aRegion, |
|
|
const QString & |
text, |
|
|
const QRect & |
aWidgetRegion |
|
) |
| [virtual, inherited] |
| void QtxToolTip::setWakeUpDelayTime |
( |
int |
theTime | ) |
[inherited] |
| void QtxToolTip::setShowDelayTime |
( |
int |
theTime | ) |
[inherited] |
| int QtxToolTip.wakeUpDelayTime |
( |
| ) |
const [inherited] |
| int QtxToolTip.showDelayTime |
( |
| ) |
const [inherited] |
| void QtxToolTip.maybeTip |
( |
QPoint |
, |
|
|
QString & |
, |
|
|
QFont & |
, |
|
|
QRect & |
, |
|
|
QRect & |
|
|
) |
| [signal, inherited] |
| void QtxToolTip::maybeTip |
( |
const QPoint & |
pos | ) |
[protected, virtual, inherited] |
It is called when there is a possibility that a tool tip should be shown and must decide whether there is a tool tip for the point p in the widget that this QToolTip object relates to
- Parameters:
-
References QtxToolTip.maybeTip(), and QtxToolTip.showTip().
| void QtxToolTip::onSleepTimeOut |
( |
| ) |
[protected, slot, inherited] |
| void QtxToolTip::onWakeUpTimeOut |
( |
| ) |
[protected, slot, inherited] |
| void QtxToolTip::mousePressEvent |
( |
QMouseEvent * |
e | ) |
[protected, virtual, inherited] |
| void QtxToolTip::mouseDoubleClickEvent |
( |
QMouseEvent * |
e | ) |
[protected, virtual, inherited] |
| QTimer * QtxToolTip::sleepTimer |
( |
| ) |
const [protected, inherited] |
| QTimer * QtxToolTip::wakeUpTimer |
( |
| ) |
const [protected, inherited] |
Field Documentation