QHelpEvent Class ReferenceThe QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget. Далее... #include <QHelpEvent> Унаследован от: QEvent. Открытые функции
Дополнительные унаследованные членыПодробное описаниеThe QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget. This event can be intercepted in applications to provide tooltips or "What's This?" help for custom widgets. The type() can be either QEvent::ToolTip or QEvent::WhatsThis. See also QToolTip, QWhatsThis, QStatusTipEvent, and QWhatsThisClickedEvent. Описание функций-членовQHelpEvent::QHelpEvent ( Type type, const QPoint & pos, const QPoint & globalPos )Constructs a help event with the given type corresponding to the widget-relative position specified by pos and the global position specified by globalPos. type must be either QEvent::ToolTip or QEvent::WhatsThis. See also pos() and globalPos(). const QPoint & QHelpEvent::globalPos () constReturns the mouse cursor position when the event was generated in global coordinates. See also pos(), globalX(), and globalY(). int QHelpEvent::globalX () constSee also x(), globalY(), and globalPos(). int QHelpEvent::globalY () constSee also y(), globalX(), and globalPos(). const QPoint & QHelpEvent::pos () constReturns the mouse cursor position when the event was generated, relative to the widget to which the event is dispatched. See also globalPos(), x(), and y(). int QHelpEvent::x () constSame as pos().x(). See also y(), pos(), and globalPos(). int QHelpEvent::y () constSame as pos().y(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |