#include <QtxToolTip.h>
|
void | maybeTip (QPoint, QString &, QFont &, QRect &, QRect &) |
|
◆ QtxToolTip()
QtxToolTip::QtxToolTip |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~QtxToolTip()
QtxToolTip::~QtxToolTip |
( |
| ) |
|
|
virtual |
◆ eventFilter()
◆ hideTip()
void QtxToolTip::hideTip |
( |
| ) |
|
◆ maybeTip() [1/2]
void QtxToolTip::maybeTip |
( |
const QPoint & |
pos | ) |
|
|
protectedvirtual |
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 maybeTip(), and showTip().
◆ maybeTip [2/2]
void QtxToolTip::maybeTip |
( |
QPoint |
, |
|
|
QString & |
, |
|
|
QFont & |
, |
|
|
QRect & |
, |
|
|
QRect & |
|
|
) |
| |
|
signal |
◆ mouseDoubleClickEvent()
void QtxToolTip::mouseDoubleClickEvent |
( |
QMouseEvent * |
e | ) |
|
|
protectedvirtual |
Custom mouse double click event handler
References hideTip().
◆ mousePressEvent()
void QtxToolTip::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protectedvirtual |
Custom mouse press event handler
References hideTip().
◆ onSleepTimeOut
void QtxToolTip::onSleepTimeOut |
( |
| ) |
|
|
protectedslot |
◆ onWakeUpTimeOut
void QtxToolTip::onWakeUpTimeOut |
( |
| ) |
|
|
protectedslot |
◆ setShowDelayTime()
void QtxToolTip::setShowDelayTime |
( |
int |
theTime | ) |
|
◆ setWakeUpDelayTime()
void QtxToolTip::setWakeUpDelayTime |
( |
int |
theTime | ) |
|
◆ showDelayTime()
int QtxToolTip::showDelayTime |
( |
| ) |
const |
|
inline |
◆ showTip() [1/2]
void QtxToolTip::showTip |
( |
const QPoint & |
aPos, |
|
|
const QString & |
text, |
|
|
const QRect & |
aWidgetRegion |
|
) |
| |
|
virtual |
Shows tool tip
- Parameters
-
aPos | - position |
text | - tooltip text |
aWidgetRegion | - rectangle |
◆ showTip() [2/2]
void QtxToolTip::showTip |
( |
const QRect & |
aRegion, |
|
|
const QString & |
text, |
|
|
const QRect & |
aWidgetRegion |
|
) |
| |
|
virtual |
◆ sleepTimer()
QTimer * QtxToolTip::sleepTimer |
( |
| ) |
const |
|
protected |
- Returns
- timer measuring time of sleeping
References mySleepTimer.
◆ wakeUpDelayTime()
int QtxToolTip::wakeUpDelayTime |
( |
| ) |
const |
|
inline |
◆ wakeUpTimer()
QTimer * QtxToolTip::wakeUpTimer |
( |
| ) |
const |
|
protected |
- Returns
- timer measuring time of waking up
References myWakeUpTimer.
◆ myShowDelayTime
int QtxToolTip::myShowDelayTime |
|
private |
◆ mySleepTimer
QTimer* QtxToolTip::mySleepTimer |
|
private |
◆ myWakeUpDelayTime
int QtxToolTip::myWakeUpDelayTime |
|
private |
◆ myWakeUpTimer
QTimer* QtxToolTip::myWakeUpTimer |
|
private |
◆ myWidgetRegion
QRect QtxToolTip::myWidgetRegion |
|
private |
The documentation for this class was generated from the following files: