diff options
Diffstat (limited to 'doc/html/tqmouseevent.html')
| -rw-r--r-- | doc/html/tqmouseevent.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/tqmouseevent.html b/doc/html/tqmouseevent.html index 6d57d7566..865cf3c70 100644 --- a/doc/html/tqmouseevent.html +++ b/doc/html/tqmouseevent.html @@ -92,8 +92,8 @@ disable mouse and keyboard events for a widget. <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="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the -<a href="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the +receiving widget. <em>button</em> specifies the <a href="tqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="tqt.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="tqt.html#ButtonState-enum">ButtonState</a> at the time of the event. <p> The <a href="#globalPos">globalPos</a>() is initialized to <a href="tqcursor.html#pos">TQCursor::pos</a>(), which may not be appropriate. Use the other constructor to specify the global @@ -106,8 +106,8 @@ position explicitly. <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="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the -<a href="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the +coordinates. <em>button</em> specifies the <a href="tqt.html#ButtonState-enum">button</a> that caused the event, which should be <a href="tqt.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="tqt.html#ButtonState-enum">ButtonState</a> at the time of the event. <p> <h3 class=fn>void <a name="accept"></a>TQMouseEvent::accept () @@ -120,14 +120,14 @@ parent widget. <p> The accept flag is set by default. <p> <p>See also <a href="#ignore">ignore</a>(). -<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="button"></a>TQMouseEvent::button () const +<h3 class=fn><a href="tqt.html#ButtonState-enum">ButtonState</a> <a name="button"></a>TQMouseEvent::button () const </h3> <p> Returns the button that caused the event. -<p> Possible return values are <a href="ntqt.html#ButtonState-enum">LeftButton</a>, <a href="ntqt.html#ButtonState-enum">RightButton</a>, <a href="ntqt.html#ButtonState-enum">MidButton</a> and <a href="ntqt.html#ButtonState-enum">NoButton</a>. -<p> Note that the returned value is always <a href="ntqt.html#ButtonState-enum">NoButton</a> for mouse move +<p> Possible return values are <a href="tqt.html#ButtonState-enum">LeftButton</a>, <a href="tqt.html#ButtonState-enum">RightButton</a>, <a href="tqt.html#ButtonState-enum">MidButton</a> and <a href="tqt.html#ButtonState-enum">NoButton</a>. +<p> Note that the returned value is always <a href="tqt.html#ButtonState-enum">NoButton</a> for mouse move events. -<p> <p>See also <a href="#state">state</a>() and <a href="ntqt.html#ButtonState-enum">TQt::ButtonState</a>. +<p> <p>See also <a href="#state">state</a>() and <a href="tqt.html#ButtonState-enum">TQt::ButtonState</a>. <p>Examples: <a href="dclock-example.html#x1101">dclock/dclock.cpp</a>, <a href="life-example.html#x1890">life/life.cpp</a>, and <a href="tutorial1-14.html#x2417">t14/cannon.cpp</a>. <h3 class=fn>const <a href="tqpoint.html">TQPoint</a> & <a name="globalPos"></a>TQMouseEvent::globalPos () const @@ -181,7 +181,7 @@ global position returned by <a href="#globalPos">globalPos</a>() to avoid a shak <p> <p>See also <a href="#x">x</a>(), <a href="#y">y</a>(), and <a href="#globalPos">globalPos</a>(). <p>Examples: <a href="tutorial2-06.html#x2580">chart/canvasview.cpp</a>, <a href="drawlines-example.html#x1654">drawlines/connect.cpp</a>, <a href="life-example.html#x1891">life/life.cpp</a>, <a href="popup-example.html#x1611">popup/popup.cpp</a>, <a href="qmag-example.html#x1780">qmag/qmag.cpp</a>, <a href="tutorial1-14.html#x2418">t14/cannon.cpp</a>, and <a href="tooltip-example.html#x443">tooltip/tooltip.cpp</a>. -<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="state"></a>TQMouseEvent::state () const +<h3 class=fn><a href="tqt.html#ButtonState-enum">ButtonState</a> <a name="state"></a>TQMouseEvent::state () const </h3> <p> Returns the button state (a combination of mouse buttons and @@ -193,16 +193,16 @@ released, the <a href="tqevent.html#Type-enum">TQEvent::MouseButtonRelease</a> e <a href="#button">button</a>() that was pressed. <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. -<p> <p>See also <a href="#button">button</a>(), <a href="#stateAfter">stateAfter</a>(), and <a href="ntqt.html#ButtonState-enum">TQt::ButtonState</a>. +<p> The returned value is <a href="tqt.html#ButtonState-enum">LeftButton</a>, <a href="tqt.html#ButtonState-enum">RightButton</a>, <a href="tqt.html#ButtonState-enum">MidButton</a>, +<a href="tqt.html#ButtonState-enum">ShiftButton</a>, <a href="tqt.html#ButtonState-enum">ControlButton</a> and <a href="tqt.html#ButtonState-enum">AltButton</a> OR'ed together. +<p> <p>See also <a href="#button">button</a>(), <a href="#stateAfter">stateAfter</a>(), and <a href="tqt.html#ButtonState-enum">TQt::ButtonState</a>. <p>Examples: <a href="popup-example.html#x1612">popup/popup.cpp</a> and <a href="showimg-example.html#x1334">showimg/showimg.cpp</a>. -<h3 class=fn><a href="ntqt.html#ButtonState-enum">ButtonState</a> <a name="stateAfter"></a>TQMouseEvent::stateAfter () const +<h3 class=fn><a href="tqt.html#ButtonState-enum">ButtonState</a> <a name="stateAfter"></a>TQMouseEvent::stateAfter () const </h3> <p> Returns the state of buttons after the event. -<p> <p>See also <a href="#state">state</a>() and <a href="ntqt.html#ButtonState-enum">TQt::ButtonState</a>. +<p> <p>See also <a href="#state">state</a>() and <a href="tqt.html#ButtonState-enum">TQt::ButtonState</a>. <h3 class=fn>int <a name="x"></a>TQMouseEvent::x () const </h3> |
