diff options
Diffstat (limited to 'doc/man/man3/tqwidget.3qt')
-rw-r--r-- | doc/man/man3/tqwidget.3qt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index 4d2d3719e..4a91b0e7a 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and TQPaintDevice. .PP -Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, QNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget. +Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c @@ -855,16 +855,16 @@ Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, .BI "virtual bool \fBevent\fR ( TQEvent * e )" .br .ti -1c -.BI "virtual void \fBmousePressEvent\fR ( QMouseEvent * e )" +.BI "virtual void \fBmousePressEvent\fR ( TQMouseEvent * e )" .br .ti -1c -.BI "virtual void \fBmouseReleaseEvent\fR ( QMouseEvent * e )" +.BI "virtual void \fBmouseReleaseEvent\fR ( TQMouseEvent * e )" .br .ti -1c -.BI "virtual void \fBmouseDoubleClickEvent\fR ( QMouseEvent * e )" +.BI "virtual void \fBmouseDoubleClickEvent\fR ( TQMouseEvent * e )" .br .ti -1c -.BI "virtual void \fBmouseMoveEvent\fR ( QMouseEvent * e )" +.BI "virtual void \fBmouseMoveEvent\fR ( TQMouseEvent * e )" .br .ti -1c .BI "virtual void \fBwheelEvent\fR ( QWheelEvent * e )" @@ -891,10 +891,10 @@ Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, .BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * )" .br .ti -1c -.BI "virtual void \fBmoveEvent\fR ( QMoveEvent * )" +.BI "virtual void \fBmoveEvent\fR ( TQMoveEvent * )" .br .ti -1c -.BI "virtual void \fBresizeEvent\fR ( QResizeEvent * )" +.BI "virtual void \fBresizeEvent\fR ( TQResizeEvent * )" .br .ti -1c .BI "virtual void \fBcloseEvent\fR ( TQCloseEvent * e )" @@ -1166,7 +1166,7 @@ See also sizeHint and childrenRect. .PP Example: xform/xform.cpp. .PP -Reimplemented in QMessageBox. +Reimplemented in TQMessageBox. .SH "bool TQWidget::autoMask () const" Returns TRUE if the auto mask feature is enabled for the widget; otherwise returns FALSE. See the "autoMask" property for details. .SH "const TQBrush & TQWidget::backgroundBrush () const" @@ -1729,50 +1729,50 @@ Returns the recommended minimum size for the widget. See the "minimumSizeHint" p Reimplemented in TQLineEdit. .SH "int TQWidget::minimumWidth () const" Returns the widget's minimum width. See the "minimumWidth" property for details. -.SH "void TQWidget::mouseDoubleClickEvent ( QMouseEvent * e )\fC [virtual protected]\fR" +.SH "void TQWidget::mouseDoubleClickEvent ( TQMouseEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive mouse double click events for the widget. .PP The default implementation generates a normal mouse press event. .PP Note that the widgets gets a mousePressEvent() and a mouseReleaseEvent() before the mouseDoubleClickEvent(). .PP -See also mousePressEvent(), mouseReleaseEvent(), mouseMoveEvent(), event(), and QMouseEvent. +See also mousePressEvent(), mouseReleaseEvent(), mouseMoveEvent(), event(), and TQMouseEvent. .SH "TQWidget * TQWidget::mouseGrabber ()\fC [static]\fR" Returns the widget that is currently grabbing the mouse input. .PP If no widget in this application is currently grabbing the mouse, 0 is returned. .PP See also grabMouse() and keyboardGrabber(). -.SH "void TQWidget::mouseMoveEvent ( QMouseEvent * e )\fC [virtual protected]\fR" +.SH "void TQWidget::mouseMoveEvent ( TQMouseEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive mouse move events for the widget. .PP If mouse tracking is switched off, mouse move events only occur if 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. .PP -QMouseEvent::pos() 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 Qt. +TQMouseEvent::pos() 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 Qt. .PP -See also mouseTracking, mousePressEvent(), mouseReleaseEvent(), mouseDoubleClickEvent(), event(), and QMouseEvent. +See also mouseTracking, mousePressEvent(), mouseReleaseEvent(), mouseDoubleClickEvent(), event(), and TQMouseEvent. .PP Examples: .)l aclock/aclock.cpp, drawlines/connect.cpp, iconview/simple_dd/main.cpp, life/life.cpp, popup/popup.cpp, qmag/qmag.cpp, and scribble/scribble.cpp. .PP Reimplemented in TQSizeGrip. -.SH "void TQWidget::mousePressEvent ( QMouseEvent * e )\fC [virtual protected]\fR" +.SH "void TQWidget::mousePressEvent ( TQMouseEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive mouse press events for the widget. .PP If you create new widgets in the mousePressEvent() the mouseReleaseEvent() may not end up where you expect, depending on the underlying window system (or X11 window manager), the widgets' location and maybe more. .PP The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing. .PP -See also mouseReleaseEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), event(), and QMouseEvent. +See also mouseReleaseEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), event(), and TQMouseEvent. .PP Examples: .)l biff/biff.cpp, drawlines/connect.cpp, iconview/simple_dd/main.cpp, life/life.cpp, qmag/qmag.cpp, scribble/scribble.cpp, and tooltip/tooltip.cpp. .PP Reimplemented in TQSizeGrip. -.SH "void TQWidget::mouseReleaseEvent ( QMouseEvent * e )\fC [virtual protected]\fR" +.SH "void TQWidget::mouseReleaseEvent ( TQMouseEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive mouse release events for the widget. .PP -See also mouseDoubleClickEvent(), mouseMoveEvent(), event(), and QMouseEvent. +See also mouseDoubleClickEvent(), mouseMoveEvent(), event(), and TQMouseEvent. .PP Examples: .)l drawlines/connect.cpp, hello/hello.cpp, popup/popup.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, and t14/cannon.cpp. @@ -1782,12 +1782,12 @@ Sets the position of the widget within its parent widget. See the "pos" property This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This corresponds to move( TQPoint(\fIx\fR, \fIy\fR) ). -.SH "void TQWidget::moveEvent ( QMoveEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::moveEvent ( TQMoveEvent * )\fC [virtual protected]\fR" 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. .PP -The old position is accessible through QMoveEvent::oldPos(). +The old position is accessible through TQMoveEvent::oldPos(). .PP -See also resizeEvent(), event(), pos, and QMoveEvent. +See also resizeEvent(), event(), pos, and TQMoveEvent. .SH "bool TQWidget::ownCursor () const" Returns TRUE if the widget uses its own cursor; otherwise returns FALSE. See the "ownCursor" property for details. .SH "bool TQWidget::ownFont () const" @@ -1937,8 +1937,8 @@ Sets the size of the widget excluding any window frame. See the "size" property This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This corresponds to resize( TQSize(\fIw\fR, \fIh\fR) ). -.SH "void TQWidget::resizeEvent ( QResizeEvent * )\fC [virtual protected]\fR" -This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize(). +.SH "void TQWidget::resizeEvent ( TQResizeEvent * )\fC [virtual protected]\fR" +This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through TQResizeEvent::oldSize(). .PP 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. .PP @@ -1946,7 +1946,7 @@ Widgets that have been created with the WNoAutoErase flag will not be erased. Ne .PP The default implementation calls updateMask() if the widget has automatic masking enabled. .PP -See also moveEvent(), event(), size, QResizeEvent, and paintEvent(). +See also moveEvent(), event(), size, TQResizeEvent, and paintEvent(). .PP Examples: .)l drawdemo/drawdemo.cpp, menu/menu.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, tooltip/tooltip.cpp, and xform/xform.cpp. @@ -2016,7 +2016,7 @@ Disables widget input events if \fIdisable\fR is TRUE; otherwise enables input e .PP See the enabled documentation for more information. .PP -See also isEnabledTo(), TQKeyEvent, QMouseEvent, and enabledChange(). +See also isEnabledTo(), TQKeyEvent, TQMouseEvent, and enabledChange(). .SH "void TQWidget::setEnabled ( bool )\fC [virtual slot]\fR" Sets whether the widget is enabled. See the "enabled" property for details. .SH "void TQWidget::setEraseColor ( const TQColor & color )\fC [virtual]\fR" @@ -2662,7 +2662,7 @@ Some widgets display themselves differently when they are disabled. For example .PP Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled. .PP -See also enabled, isEnabledTo(), TQKeyEvent, QMouseEvent, and enabledChange(). +See also enabled, isEnabledTo(), TQKeyEvent, TQMouseEvent, and enabledChange(). .PP Set this property's value with setEnabled() and get this property's value with isEnabled(). .SH "bool focus" |