#include <qevent.h>
Inheritance diagram for QStatusTipEvent:


Status tips can be set on a widget using the QWidget::setStatusTip() function. They are shown in the status bar when the mouse cursor enters the widget. For example:
100% snippets/qstatustipevent/main.cpp MainWindow::MainWindow setCentralWidget } } Widget with status tip.
Status tips can also be set on actions using the QAction::setStatusTip() function:
100% snippets/qstatustipevent/main.cpp MainWindow::MainWindow { QMenu addAction } } Action with status tip.
Finally, status tips are supported for the item view classes through the Qt::StatusTipRole enum value.
Definition at line 564 of file qevent.h.
Public Member Functions | |
| QStatusTipEvent (const QString &tip) | |
| ~QStatusTipEvent () | |
| QString | tip () const |
Private Attributes | |
| QString | s |
| QStatusTipEvent::QStatusTipEvent | ( | const QString & | tip | ) |
| QStatusTipEvent::~QStatusTipEvent | ( | ) |
| QString QStatusTipEvent::tip | ( | ) | const [inline] |
Returns the message to show in the status bar.
Definition at line 570 of file qevent.h.
References s.
00570 { return s; }
QString QStatusTipEvent::s [private] |
1.5.1