Extending Qt Creator Manual | ToolTip

Extending Qt Creator Manual 4.7.1

# ToolTip Class

(Utils::ToolTip)

- List of all members, including inherited members

## Public Types

enum | anonymous { ColorContent, TextContent, WidgetContent }

## Public Functions

| ~ToolTip()
bool | eventFilter(int *o, int *event) override
void | hidden()

## Static Public Members

QString | contextHelpId()
void | hide()
void | hideImmediately()
Utils::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 = nullptr, const QString &helpId = QString(), const QRect &rect = ...)
void | show(const QPoint &pos, const QColor &color, QWidget *w = nullptr, const QString &helpId = QString(), const QRect &rect = ...)
void | show(const QPoint &pos, QWidget *content, QWidget *w = nullptr, const QString &helpId = QString(), const QRect &rect = ...)
void | show(const QPoint &pos, QLayout *content, QWidget *w = nullptr, const QString &helpId = QString(), const QRect &rect = ...)

## Member Type Documentation

### enum ToolTip::anonymous

## Member Function Documentation

### ToolTip::~ToolTip()

Destroys the instance of ToolTip.

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

### bool ToolTip::eventFilter(int *o, int *event)

### void ToolTip::hidden()

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

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

### `[static]` Utils::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 = nullptr, const QString &helpId = QString(), const QRect &rect = ...)

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

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

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