diff options
Diffstat (limited to 'doc/html/qmouseevent.html')
-rw-r--r-- | doc/html/qmouseevent.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/qmouseevent.html b/doc/html/qmouseevent.html index a485f73ac..9a1c933b3 100644 --- a/doc/html/qmouseevent.html +++ b/doc/html/qmouseevent.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qevent.cpp:244 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/tqevent.cpp:244 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQMouseEvent class contains parameters that describe a mouse event. <a href="#details">More...</a> -<p><tt>#include <<a href="qevent-h.html">ntqevent.h</a>></tt> -<p>Inherits <a href="ntqevent.html">TQEvent</a>. +<p><tt>#include <<a href="tqevent-h.html">tqevent.h</a>></tt> +<p>Inherits <a href="tqevent.html">TQEvent</a>. <p><a href="qmouseevent-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -84,29 +84,29 @@ disable mouse and keyboard events for a widget. <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="tqpoint.html">TQPoint</a> & pos, int button, int state ) +<h3 class=fn><a name="TQMouseEvent"></a>TQMouseEvent::TQMouseEvent ( <a href="tqevent.html#Type-enum">Type</a> type, const <a href="tqpoint.html">TQPoint</a> & pos, int button, int state ) </h3> <p> Constructs a mouse event object. -<p> The <em>type</em> parameter must be one of <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonPress</a>, -<a href="ntqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or -<a href="ntqevent.html#Type-enum">TQEvent::MouseMove</a>. +<p> The <em>type</em> parameter must be one of <a href="tqevent.html#Type-enum">TQEvent::MouseButtonPress</a>, +<a href="tqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="tqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or +<a href="tqevent.html#Type-enum">TQEvent::MouseMove</a>. <p> The <em>pos</em> parameter specifies the position relative to the -receiving widget. <em>button</em> specifies the <a href="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="ntqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the +receiving widget. <em>button</em> specifies the <a href="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the <a href="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the event. <p> The <a href="#globalPos">globalPos</a>() is initialized to <a href="ntqcursor.html#pos">TQCursor::pos</a>(), which may not be appropriate. Use the other constructor to specify the global position explicitly. -<h3 class=fn><a name="TQMouseEvent-2"></a>TQMouseEvent::TQMouseEvent ( <a href="ntqevent.html#Type-enum">Type</a> type, const <a href="tqpoint.html">TQPoint</a> & pos, const <a href="tqpoint.html">TQPoint</a> & globalPos, int button, int state ) +<h3 class=fn><a name="TQMouseEvent-2"></a>TQMouseEvent::TQMouseEvent ( <a href="tqevent.html#Type-enum">Type</a> type, const <a href="tqpoint.html">TQPoint</a> & pos, const <a href="tqpoint.html">TQPoint</a> & globalPos, int button, int state ) </h3> <p> Constructs a mouse event object. -<p> The <em>type</em> parameter must be <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonPress</a>, <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or <a href="ntqevent.html#Type-enum">TQEvent::MouseMove</a>. +<p> The <em>type</em> parameter must be <a href="tqevent.html#Type-enum">TQEvent::MouseButtonPress</a>, <a href="tqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <a href="tqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or <a href="tqevent.html#Type-enum">TQEvent::MouseMove</a>. <p> The <em>pos</em> parameter specifies the position relative to the receiving widget. <em>globalPos</em> is the position in absolute -coordinates. <em>button</em> specifies the <a href="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="ntqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the +coordinates. <em>button</em> specifies the <a href="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <a href="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the <a href="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the event. <p> @@ -187,11 +187,11 @@ global position returned by <a href="#globalPos">globalPos</a>() to avoid a shak <p> Returns the button state (a combination of mouse buttons and keyboard modifiers), i.e. what buttons and keys were being pressed immediately before the event was generated. -<p> This means that if you have a <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonPress</a> or a <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> <a href="#state">state</a>() will <em>not</em> include the mouse +<p> This means that if you have a <a href="tqevent.html#Type-enum">TQEvent::MouseButtonPress</a> or a <a href="tqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> <a href="#state">state</a>() will <em>not</em> include the mouse button that's pressed. But once the mouse button has been -released, the <a href="ntqevent.html#Type-enum">TQEvent::MouseButtonRelease</a> event will have the +released, the <a href="tqevent.html#Type-enum">TQEvent::MouseButtonRelease</a> event will have the <a href="#button">button</a>() that was pressed. -<p> This value is mainly interesting for <a href="ntqevent.html#Type-enum">TQEvent::MouseMove</a>; for the +<p> This value is mainly interesting for <a href="tqevent.html#Type-enum">TQEvent::MouseMove</a>; for the other cases, button() is more useful. <p> The returned value is <a href="ntqt.html#ButtonState-enum">LeftButton</a>, <a href="ntqt.html#ButtonState-enum">RightButton</a>, <a href="ntqt.html#ButtonState-enum">MidButton</a>, <a href="ntqt.html#ButtonState-enum">ShiftButton</a>, <a href="ntqt.html#ButtonState-enum">ControlButton</a> and <a href="ntqt.html#ButtonState-enum">AltButton</a> OR'ed together. |