7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qobject.h>
9#include <QtGui/qcursor.h>
21 QWhatsThis() =
delete;
24 static void enterWhatsThisMode();
25 static bool inWhatsThisMode();
26 static void leaveWhatsThisMode();
28 static void showText(
const QPoint &pos,
const QString &text, QWidget *w =
nullptr);
29 static void hideText();
32 static QAction *createAction(QObject *parent =
nullptr);
The QHelpEvent class provides an event that is used to request helpful information about a particular...
\inmodule QtCore\reentrant
void keyPressEvent(QKeyEvent *) override
This event handler, for event event, can be reimplemented in a subclass to receive key press events f...
void mouseReleaseEvent(QMouseEvent *) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse release even...
void mouseMoveEvent(QMouseEvent *) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse move events ...
void mousePressEvent(QMouseEvent *) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse press events...
void paintEvent(QPaintEvent *) override
This event handler can be reimplemented in a subclass to receive paint events passed in event.
static QWhatsThat * instance
static void say(QWidget *, const QString &, int x=0, int y=0)
static QWhatsThisPrivate * instance
static void notifyToplevels(QEvent *e)
bool eventFilter(QObject *, QEvent *) override
Filters events if this object has been installed as an event filter for the watched object.
The QWhatsThis class provides a simple description of any widget, i.e.
Combined button and popup list for selecting options.
static const char *const button_image[]
QT_REQUIRE_CONFIG(whatsthis)