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