Eneboo - Documentación para desarrolladores
Métodos públicos
Referencia de la Clase QHideToolTip
Diagrama de herencias de QHideToolTip
QToolTip Qt Qt

Lista de todos los miembros.

Métodos públicos

 QHideToolTip (QWidget *parent)
 ~QHideToolTip ()
virtual void maybeTip (const QPoint &pos)

Documentación del constructor y destructor

QHideToolTip::QHideToolTip ( QWidget parent) [inline]
QHideToolTip::~QHideToolTip ( ) [inline]

Documentación de las funciones miembro

void QHideToolTip::maybeTip ( const QPoint p) [virtual]

This pure virtual function is half of the most versatile interface QToolTip offers.

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. If so, maybeTip() must call tip() with the rectangle the tip applies to, the tip's text and optionally the QToolTipGroup details and the geometry in screen coordinates.

p is given in that widget's local coordinates. Most maybeTip() implementations will be of the form:

        if ( <something> ) {
            tip( <something>, <something> );
        }

The first argument to tip() (a rectangle) must encompass p, i.e. the tip must apply to the current mouse position; otherwise QToolTip's operation is undefined.

Note that the tip will disappear once the mouse moves outside the rectangle you give to tip(), and will not reappear if the mouse moves back in: maybeTip() is called again instead.

Ver también:
tip()

Implementa QToolTip.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'