Custom tooltip for AIS_InteractiveObjects and SelectMgr_EntityOwners in the OCC Viewer.
#include <OCCViewer_ToolTip.h>
|
void | onToolTip (QPoint, QString &, QFont &, QRect &, QRect &) |
|
|
void | toolTipFor (const Handle_SelectMgr_EntityOwner &, QString &) |
|
void | toolTipFor (const Handle_AIS_InteractiveObject &, QString &) |
|
void | maybeTip (QPoint, QString &, QFont &, QRect &, QRect &) |
|
OCCViewer_ToolTip::~OCCViewer_ToolTip |
( |
| ) |
|
|
virtual |
QFont OCCViewer_ToolTip::font |
( |
| ) |
const |
- Returns
- font of the tooltip
References myFont.
void OCCViewer_ToolTip::onToolTip |
( |
QPoint |
p, |
|
|
QString & |
str, |
|
|
QFont & |
f, |
|
|
QRect & |
txtRect, |
|
|
QRect & |
rect |
|
) |
| |
|
slot |
void OCCViewer_ToolTip::setFont |
( |
const QFont & |
f | ) |
|
Change font of the tooltip
- Parameters
-
References myFont.
void OCCViewer_ToolTip::toolTipFor |
( |
const Handle_SelectMgr_EntityOwner & |
, |
|
|
QString & |
|
|
) |
| |
|
signal |
Called when owner is detected; allows to redefine tooltip text for owner
void OCCViewer_ToolTip::toolTipFor |
( |
const Handle_AIS_InteractiveObject & |
, |
|
|
QString & |
|
|
) |
| |
|
signal |
Called when object is detected; allows to redefine tooltip text for object
QFont OCCViewer_ToolTip::myFont |
|
private |
The documentation for this class was generated from the following files: