ToolTip Class | Extending Qt Creator Manual

Extending Qt Creator Manual | ToolTip

Extending Qt Creator Manual 4.6.0

# ToolTip Class

(Utils::ToolTip)

- List of all members, including inherited members

## Public Functions

| ~ToolTip()
bool | eventFilter(QObject *o, QEvent *event)

## Signals

void | hidden()
void | shown()

## Static Public Members

QString | contextHelpId()
void | hide()
void | hideImmediately()
ToolTip * | instance()
bool | isVisible()
void | move(const QPoint &pos, QWidget *w)
QPoint | offsetFromPosition()
bool | pinToolTip(QWidget *w, QWidget *parent)
void | show(const QPoint &pos, const QString &content, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())
void | show(const QPoint &pos, const QColor &color, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())
void | show(const QPoint &pos, QWidget *content, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())
void | show(const QPoint &pos, QLayout *content, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())

## Protected Functions

| ToolTip()

## Member Function Documentation

### `[protected]` ToolTip::ToolTip()

Default constructs an instance of ToolTip.

### ToolTip::~ToolTip()

Destroys the instance of ToolTip.

### `[static]` QString ToolTip::contextHelpId()

### bool ToolTip::eventFilter(QObject *o, QEvent *event)

### `[signal]` void ToolTip::hidden()

### `[static]` void ToolTip::hide()

### `[static]` void ToolTip::hideImmediately()

### `[static]` ToolTip *ToolTip::instance()

### `[static]` bool ToolTip::isVisible()

### `[static]` void ToolTip::move(const QPoint &pos, QWidget *w)

### `[static]` QPoint ToolTip::offsetFromPosition()

### `[static]` bool ToolTip::pinToolTip(QWidget *w, QWidget *parent)

### `[static]` void ToolTip::show(const QPoint &pos, const QString &content, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())

### `[static]` void ToolTip::show(const QPoint &pos, const QColor &color, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())

### `[static]` void ToolTip::show(const QPoint &pos, QWidget *content, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())

### `[static]` void ToolTip::show(const QPoint &pos, QLayout *content, QWidget *w = 0, const QString &helpId = QString(), const QRect &rect = QRect())

### `[signal]` void ToolTip::shown()