QStatusTipEvent Class▲
-
Header: QStatusTipEvent
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
-
qmake: QT += gui
-
Inherits: QEvent
-
Group: QStatusTipEvent is part of events, helpsystem
Detailed Description▲
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:
Sélectionnez
|
Status tips can also be set on actions using the QAction::setStatusTip() function:
Sélectionnez
|
Finally, status tips are supported for the item view classes through the Qt::StatusTipRole enum value.
See Also▲
See also QStatusBar, QHelpEvent, QWhatsThisClickedEvent