diff options
Diffstat (limited to 'doc/html/tqwidget.html')
-rw-r--r-- | doc/html/tqwidget.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index b73011dae..a71e0210b 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <a href="#details">More...</a> <p><tt>#include <<a href="tqwidget-h.html">tqwidget.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a> and <a href="tqpaintdevice.html">TQPaintDevice</a>. --<p>Inherited by <a href="tqbutton.html">TQButton</a>, <a href="tqframe.html">TQFrame</a>, <a href="tqdialog.html">TQDialog</a>, <a href="tqcombobox.html">TQComboBox</a>, <a href="tqdatabrowser.html">TQDataBrowser</a>, <a href="tqdataview.html">TQDataView</a>, <a href="tqdatetimeeditbase.html">TQDateTimeEditBase</a>, <a href="tqdatetimeedit.html">TQDateTimeEdit</a>, <a href="tqdesktopwidget.html">TQDesktopWidget</a>, <a href="tqdial.html">TQDial</a>, <a href="tqdockarea.html">TQDockArea</a>, <a href="tqglwidget.html">TQGLWidget</a>, <a href="tqheader.html">TQHeader</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="tqmotifwidget.html">TQMotifWidget</a>, <a href="qnpwidget.html">TQNPWidget</a>, <a href="tqscrollbar.html">TQScrollBar</a>, <a href="tqsizegrip.html">TQSizeGrip</a>, <a href="tqslider.html">TQSlider</a>, <a href="tqspinbox.html">TQSpinBox</a>, <a href="ntqsplashscreen.html">TQSplashScreen</a>, <a href="tqstatusbar.html">TQStatusBar</a>, <a href="tqtabbar.html">TQTabBar</a>, <a href="tqtabwidget.html">TQTabWidget</a>, <a href="tqworkspace.html">TQWorkspace</a>, and <a href="qxtwidget.html">TQXtWidget</a>. +-<p>Inherited by <a href="tqbutton.html">TQButton</a>, <a href="tqframe.html">TQFrame</a>, <a href="tqdialog.html">TQDialog</a>, <a href="tqcombobox.html">TQComboBox</a>, <a href="tqdatabrowser.html">TQDataBrowser</a>, <a href="tqdataview.html">TQDataView</a>, <a href="tqdatetimeeditbase.html">TQDateTimeEditBase</a>, <a href="tqdatetimeedit.html">TQDateTimeEdit</a>, <a href="tqdesktopwidget.html">TQDesktopWidget</a>, <a href="tqdial.html">TQDial</a>, <a href="tqdockarea.html">TQDockArea</a>, <a href="tqglwidget.html">TQGLWidget</a>, <a href="tqheader.html">TQHeader</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="tqmotifwidget.html">TQMotifWidget</a>, <a href="tqnpwidget.html">TQNPWidget</a>, <a href="tqscrollbar.html">TQScrollBar</a>, <a href="tqsizegrip.html">TQSizeGrip</a>, <a href="tqslider.html">TQSlider</a>, <a href="tqspinbox.html">TQSpinBox</a>, <a href="ntqsplashscreen.html">TQSplashScreen</a>, <a href="tqstatusbar.html">TQStatusBar</a>, <a href="tqtabbar.html">TQTabBar</a>, <a href="tqtabwidget.html">TQTabWidget</a>, <a href="tqworkspace.html">TQWorkspace</a>, and <a href="qxtwidget.html">TQXtWidget</a>. <p><a href="tqwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -754,7 +754,7 @@ union of all child widget geometries). <p> <p>See also <a href="#sizeHint-prop">sizeHint</a> and <a href="#childrenRect-prop">childrenRect</a>. <p>Example: <a href="xform-example.html#x1266">xform/xform.cpp</a>. -<p>Reimplemented in <a href="ntqmessagebox.html#adjustSize">TQMessageBox</a>. +<p>Reimplemented in <a href="tqmessagebox.html#adjustSize">TQMessageBox</a>. <h3 class=fn>bool <a name="autoMask"></a>TQWidget::autoMask () const </h3><p>Returns TRUE if the auto mask feature is enabled for the widget; otherwise returns FALSE. See the <a href="tqwidget.html#autoMask-prop">"autoMask"</a> property for details. @@ -1524,14 +1524,14 @@ See the <a href="tqwidget.html#minimumSizeHint-prop">"minimumSizeHint"</a> prope <h3 class=fn>int <a name="minimumWidth"></a>TQWidget::minimumWidth () const </h3><p>Returns the widget's minimum width. See the <a href="tqwidget.html#minimumWidth-prop">"minimumWidth"</a> property for details. -<h3 class=fn>void <a name="mouseDoubleClickEvent"></a>TQWidget::mouseDoubleClickEvent ( <a href="qmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="mouseDoubleClickEvent"></a>TQWidget::mouseDoubleClickEvent ( <a href="tqmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> </h3> This event handler, for event <em>e</em>, can be reimplemented in a subclass to receive mouse double click events for the widget. <p> The default implementation generates a normal mouse press event. <p> Note that the widgets gets a <a href="#mousePressEvent">mousePressEvent</a>() and a <a href="#mouseReleaseEvent">mouseReleaseEvent</a>() before the <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(). -<p> <p>See also <a href="#mousePressEvent">mousePressEvent</a>(), <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#event">event</a>(), and <a href="qmouseevent.html">TQMouseEvent</a>. +<p> <p>See also <a href="#mousePressEvent">mousePressEvent</a>(), <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#event">event</a>(), and <a href="tqmouseevent.html">TQMouseEvent</a>. <h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="mouseGrabber"></a>TQWidget::mouseGrabber ()<tt> [static]</tt> </h3> @@ -1540,7 +1540,7 @@ Returns the widget that is currently grabbing the mouse input. 0 is returned. <p> <p>See also <a href="#grabMouse">grabMouse</a>() and <a href="#keyboardGrabber">keyboardGrabber</a>(). -<h3 class=fn>void <a name="mouseMoveEvent"></a>TQWidget::mouseMoveEvent ( <a href="qmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="mouseMoveEvent"></a>TQWidget::mouseMoveEvent ( <a href="tqmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> </h3> This event handler, for event <em>e</em>, can be reimplemented in a subclass to receive mouse move events for the widget. @@ -1548,16 +1548,16 @@ subclass to receive mouse move events for the widget. a mouse button is pressed while the mouse is being moved. If mouse tracking is switched on, mouse move events occur even if no mouse button is pressed. -<p> <a href="qmouseevent.html#pos">TQMouseEvent::pos</a>() reports the position of the mouse cursor, +<p> <a href="tqmouseevent.html#pos">TQMouseEvent::pos</a>() reports the position of the mouse cursor, relative to this widget. For press and release events, the position is usually the same as the position of the last mouse move event, but it might be different if the user's hand shakes. This is a feature of the underlying window system, not TQt. -<p> <p>See also <a href="#mouseTracking-prop">mouseTracking</a>, <a href="#mousePressEvent">mousePressEvent</a>(), <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#event">event</a>(), and <a href="qmouseevent.html">TQMouseEvent</a>. +<p> <p>See also <a href="#mouseTracking-prop">mouseTracking</a>, <a href="#mousePressEvent">mousePressEvent</a>(), <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#event">event</a>(), and <a href="tqmouseevent.html">TQMouseEvent</a>. <p>Examples: <a href="aclock-example.html#x1206">aclock/aclock.cpp</a>, <a href="drawlines-example.html#x1658">drawlines/connect.cpp</a>, <a href="simple_dd-example.html#x2831">iconview/simple_dd/main.cpp</a>, <a href="life-example.html#x1896">life/life.cpp</a>, <a href="popup-example.html#x1620">popup/popup.cpp</a>, <a href="qmag-example.html#x1800">qmag/qmag.cpp</a>, and <a href="scribble-example.html#x948">scribble/scribble.cpp</a>. <p>Reimplemented in <a href="tqsizegrip.html#mouseMoveEvent">TQSizeGrip</a>. -<h3 class=fn>void <a name="mousePressEvent"></a>TQWidget::mousePressEvent ( <a href="qmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="mousePressEvent"></a>TQWidget::mousePressEvent ( <a href="tqmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> </h3> This event handler, for event <em>e</em>, can be reimplemented in a subclass to receive mouse press events for the widget. @@ -1568,15 +1568,15 @@ location and maybe more. <p> The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing. -<p> <p>See also <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#event">event</a>(), and <a href="qmouseevent.html">TQMouseEvent</a>. +<p> <p>See also <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#event">event</a>(), and <a href="tqmouseevent.html">TQMouseEvent</a>. <p>Examples: <a href="biff-example.html#x1960">biff/biff.cpp</a>, <a href="drawlines-example.html#x1659">drawlines/connect.cpp</a>, <a href="simple_dd-example.html#x2832">iconview/simple_dd/main.cpp</a>, <a href="life-example.html#x1897">life/life.cpp</a>, <a href="qmag-example.html#x1801">qmag/qmag.cpp</a>, <a href="scribble-example.html#x949">scribble/scribble.cpp</a>, and <a href="tooltip-example.html#x452">tooltip/tooltip.cpp</a>. <p>Reimplemented in <a href="tqsizegrip.html#mousePressEvent">TQSizeGrip</a>. -<h3 class=fn>void <a name="mouseReleaseEvent"></a>TQWidget::mouseReleaseEvent ( <a href="qmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="mouseReleaseEvent"></a>TQWidget::mouseReleaseEvent ( <a href="tqmouseevent.html">TQMouseEvent</a> * e )<tt> [virtual protected]</tt> </h3> This event handler, for event <em>e</em>, can be reimplemented in a subclass to receive mouse release events for the widget. -<p> <p>See also <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#event">event</a>(), and <a href="qmouseevent.html">TQMouseEvent</a>. +<p> <p>See also <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#event">event</a>(), and <a href="tqmouseevent.html">TQMouseEvent</a>. <p>Examples: <a href="drawlines-example.html#x1660">drawlines/connect.cpp</a>, <a href="hello-example.html#x1641">hello/hello.cpp</a>, <a href="popup-example.html#x1621">popup/popup.cpp</a>, <a href="qmag-example.html#x1802">qmag/qmag.cpp</a>, <a href="scribble-example.html#x950">scribble/scribble.cpp</a>, <a href="showimg-example.html#x1350">showimg/showimg.cpp</a>, and <a href="tutorial1-14.html#x2432">t14/cannon.cpp</a>. <h3 class=fn>void <a name="move"></a>TQWidget::move ( const <a href="tqpoint.html">TQPoint</a> & )<tt> [slot]</tt> @@ -1587,13 +1587,13 @@ See the <a href="tqwidget.html#pos-prop">"pos"</a> property for details. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This corresponds to <a href="#move">move</a>( <a href="tqpoint.html">TQPoint</a>(<em>x</em>, <em>y</em>) ). -<h3 class=fn>void <a name="moveEvent"></a>TQWidget::moveEvent ( <a href="qmoveevent.html">TQMoveEvent</a> * )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="moveEvent"></a>TQWidget::moveEvent ( <a href="tqmoveevent.html">TQMoveEvent</a> * )<tt> [virtual protected]</tt> </h3> This event handler can be reimplemented in a subclass to receive widget move events. When the widget receives this event, it is already at the new position. -<p> The old position is accessible through <a href="qmoveevent.html#oldPos">TQMoveEvent::oldPos</a>(). -<p> <p>See also <a href="#resizeEvent">resizeEvent</a>(), <a href="#event">event</a>(), <a href="#pos-prop">pos</a>, and <a href="qmoveevent.html">TQMoveEvent</a>. +<p> The old position is accessible through <a href="tqmoveevent.html#oldPos">TQMoveEvent::oldPos</a>(). +<p> <p>See also <a href="#resizeEvent">resizeEvent</a>(), <a href="#event">event</a>(), <a href="#pos-prop">pos</a>, and <a href="tqmoveevent.html">TQMoveEvent</a>. <h3 class=fn>bool <a name="ownCursor"></a>TQWidget::ownCursor () const </h3><p>Returns TRUE if the widget uses its own cursor; otherwise returns FALSE. @@ -1805,12 +1805,12 @@ See the <a href="tqwidget.html#size-prop">"size"</a> property for details. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This corresponds to <a href="#resize">resize</a>( <a href="tqsize.html">TQSize</a>(<em>w</em>, <em>h</em>) ). -<h3 class=fn>void <a name="resizeEvent"></a>TQWidget::resizeEvent ( <a href="qresizeevent.html">TQResizeEvent</a> * )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="resizeEvent"></a>TQWidget::resizeEvent ( <a href="tqresizeevent.html">TQResizeEvent</a> * )<tt> [virtual protected]</tt> </h3> This event handler can be reimplemented in a subclass to receive widget resize events. When <a href="#resizeEvent">resizeEvent</a>() is called, the widget already has its new geometry. The old size is accessible through -<a href="qresizeevent.html#oldSize">TQResizeEvent::oldSize</a>(). +<a href="tqresizeevent.html#oldSize">TQResizeEvent::oldSize</a>(). <p> The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler. @@ -1820,7 +1820,7 @@ for their entire area afterwards. Again, no drawing needs to be done inside this handler. <p> The default implementation calls <a href="#updateMask">updateMask</a>() if the widget has <a href="#setAutoMask">automatic masking</a> enabled. -<p> <p>See also <a href="#moveEvent">moveEvent</a>(), <a href="#event">event</a>(), <a href="#size-prop">size</a>, <a href="qresizeevent.html">TQResizeEvent</a>, and <a href="#paintEvent">paintEvent</a>(). +<p> <p>See also <a href="#moveEvent">moveEvent</a>(), <a href="#event">event</a>(), <a href="#size-prop">size</a>, <a href="tqresizeevent.html">TQResizeEvent</a>, and <a href="#paintEvent">paintEvent</a>(). <p>Examples: <a href="drawdemo-example.html#x1089">drawdemo/drawdemo.cpp</a>, <a href="menu-example.html#x1884">menu/menu.cpp</a>, <a href="qmag-example.html#x1806">qmag/qmag.cpp</a>, <a href="scribble-example.html#x952">scribble/scribble.cpp</a>, <a href="showimg-example.html#x1353">showimg/showimg.cpp</a>, <a href="tooltip-example.html#x454">tooltip/tooltip.cpp</a>, and <a href="xform-example.html#x1269">xform/xform.cpp</a>. <p>Reimplemented in <a href="tqframe.html#resizeEvent">TQFrame</a> and <a href="tqglwidget.html#resizeEvent">TQGLWidget</a>. @@ -1921,7 +1921,7 @@ See the <a href="tqwidget.html#cursor-prop">"cursor"</a> property for details. Disables widget input events if <em>disable</em> is TRUE; otherwise enables input events. <p> See the <a href="#enabled-prop">enabled</a> documentation for more information. -<p> <p>See also <a href="#isEnabledTo">isEnabledTo</a>(), <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="qmouseevent.html">TQMouseEvent</a>, and <a href="#enabledChange">enabledChange</a>(). +<p> <p>See also <a href="#isEnabledTo">isEnabledTo</a>(), <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="tqmouseevent.html">TQMouseEvent</a>, and <a href="#enabledChange">enabledChange</a>(). <h3 class=fn>void <a name="setEnabled"></a>TQWidget::setEnabled ( bool )<tt> [virtual slot]</tt> </h3><p>Sets whether the widget is enabled. @@ -2706,7 +2706,7 @@ can reimplement the <a href="#enabledChange">enabledChange</a>() function. <p> Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled. -<p> <p>See also <a href="#enabled-prop">enabled</a>, <a href="#isEnabledTo">isEnabledTo</a>(), <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="qmouseevent.html">TQMouseEvent</a>, and <a href="#enabledChange">enabledChange</a>(). +<p> <p>See also <a href="#enabled-prop">enabled</a>, <a href="#isEnabledTo">isEnabledTo</a>(), <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="tqmouseevent.html">TQMouseEvent</a>, and <a href="#enabledChange">enabledChange</a>(). <p>Set this property's value with <a href="#setEnabled">setEnabled</a>() and get this property's value with <a href="#isEnabled">isEnabled</a>(). <h3 class=fn>bool <a name="focus-prop"></a>focus</h3> |