diff options
Diffstat (limited to 'doc/html/qmouseevent.html')
-rw-r--r-- | doc/html/qmouseevent.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qmouseevent.html b/doc/html/qmouseevent.html index b2bbafe59..7d6748ba2 100644 --- a/doc/html/qmouseevent.html +++ b/doc/html/qmouseevent.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; } inside a widget or when the mouse cursor is moved. <p> Mouse move events will occur only when a mouse button is pressed down, unless mouse tracking has been enabled with -<a href="ntqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>(). +<a href="tqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>(). <p> TQt automatically grabs the mouse when a mouse button is pressed inside a widget; the widget will continue to receive mouse events until the last mouse button is released. @@ -76,12 +76,12 @@ filter consumes it. to the widget that receives the mouse event. If you move the widget as a result of the mouse event, use the global position returned by <a href="#globalPos">globalPos</a>() to avoid a shaking motion. -<p> The <a href="ntqwidget.html#setEnabled">TQWidget::setEnabled</a>() function can be used to enable or +<p> The <a href="tqwidget.html#setEnabled">TQWidget::setEnabled</a>() function can be used to enable or disable mouse and keyboard events for a widget. -<p> The event handlers <a href="ntqwidget.html#mousePressEvent">TQWidget::mousePressEvent</a>(), -<a href="ntqwidget.html#mouseReleaseEvent">TQWidget::mouseReleaseEvent</a>(), <a href="ntqwidget.html#mouseDoubleClickEvent">TQWidget::mouseDoubleClickEvent</a>() and -<a href="ntqwidget.html#mouseMoveEvent">TQWidget::mouseMoveEvent</a>() receive mouse events. -<p> <p>See also <a href="ntqwidget.html#mouseTracking-prop">TQWidget::mouseTracking</a>, <a href="ntqwidget.html#grabMouse">TQWidget::grabMouse</a>(), <a href="ntqcursor.html#pos">TQCursor::pos</a>(), and <a href="events.html">Event Classes</a>. +<p> The event handlers <a href="tqwidget.html#mousePressEvent">TQWidget::mousePressEvent</a>(), +<a href="tqwidget.html#mouseReleaseEvent">TQWidget::mouseReleaseEvent</a>(), <a href="tqwidget.html#mouseDoubleClickEvent">TQWidget::mouseDoubleClickEvent</a>() and +<a href="tqwidget.html#mouseMoveEvent">TQWidget::mouseMoveEvent</a>() receive mouse events. +<p> <p>See also <a href="tqwidget.html#mouseTracking-prop">TQWidget::mouseTracking</a>, <a href="tqwidget.html#grabMouse">TQWidget::grabMouse</a>(), <a href="ntqcursor.html#pos">TQCursor::pos</a>(), and <a href="events.html">Event Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQMouseEvent"></a>TQMouseEvent::TQMouseEvent ( <a href="ntqevent.html#Type-enum">Type</a> type, const <a href="ntqpoint.html">TQPoint</a> & pos, int button, int state ) @@ -136,7 +136,7 @@ events. <p> Returns the global position of the mouse pointer <em>at the time of the event</em>. This is important on asynchronous window systems like X11. Whenever you move your widgets around in response to mouse events, <a href="#globalPos">globalPos</a>() may differ a lot from the current -pointer position <a href="ntqcursor.html#pos">TQCursor::pos</a>(), and from <a href="ntqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>( +pointer position <a href="ntqcursor.html#pos">TQCursor::pos</a>(), and from <a href="tqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>( <a href="#pos">pos</a>() ). <p> <p>See also <a href="#globalX">globalX</a>() and <a href="#globalY">globalY</a>(). |