diff options
Diffstat (limited to 'doc/man/man3/tqwidget.3qt')
-rw-r--r-- | doc/man/man3/tqwidget.3qt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index 5fc7aa322..41a0efd5b 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 QButton, QFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, QDockArea, TQGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. +Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, QDockArea, TQGLWidget, TQHeader, TQMainWindow, QMotifWidget, QNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c @@ -912,7 +912,7 @@ Inherited by QButton, QFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, T .BI "virtual void \fBimEndEvent\fR ( QIMEvent * e )" .br .ti -1c -.BI "virtual void \fBtabletEvent\fR ( QTabletEvent * e )" +.BI "virtual void \fBtabletEvent\fR ( TQTabletEvent * e )" .br .ti -1c .BI "virtual void \fBdragEnterEvent\fR ( TQDragEnterEvent * )" @@ -1006,7 +1006,7 @@ Non-top-level widgets are child widgets. These are child windows in their parent .PP If you want to use a TQWidget to hold child widgets you will probably want to add a layout to the parent TQWidget. (See Layouts.) .PP -TQWidget has many member functions, but some of them have little direct functionality: for example, TQWidget has a font property, but never uses this itself. There are many subclasses which provide real functionality, such as TQPushButton, QListBox and QTabDialog, etc. +TQWidget has many member functions, but some of them have little direct functionality: for example, TQWidget has a font property, but never uses this itself. There are many subclasses which provide real functionality, such as TQPushButton, TQListBox and TQTabDialog, etc. .SH "Groups of functions:" <center>.nf .TS @@ -1101,7 +1101,7 @@ It is almost always useful to reimplement sizeHint() and to set the correct size If your widget is a top-level window, setCaption() and setIcon() set the title bar and icon respectively. .IP .PP -See also TQEvent, TQPainter, QGridLayout, QBoxLayout, and Abstract Widget Classes. +See also TQEvent, TQPainter, TQGridLayout, QBoxLayout, and Abstract Widget Classes. .SS "Member Type Documentation" .SH "TQWidget::BackgroundOrigin" This enum defines the origin used to draw a widget's background pixmap. @@ -1799,7 +1799,7 @@ This event handler can be reimplemented in a subclass to receive paint events. .PP A paint event is a request to repaint all or part of the widget. It can happen as a result of repaint() or update(), or because the widget was obscured and has now been uncovered, or for many other reasons. .PP -Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: TQPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. QListView and TQCanvas do this, for example. +Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: TQPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. TQListView and TQCanvas do this, for example. .PP Qt also tries to speed up painting by merging multiple paint events into one. When update() is called several times or the window system sends several paint events, TQt merges these events into one event with a larger region (see TQRegion::unite()). repaint() does not permit this optimization, so we suggest using update() when possible. .PP @@ -1812,7 +1812,7 @@ See also event(), repaint(), update(), TQPainter, TQPixmap, and TQPaintEvent. Examples: .)l drawlines/connect.cpp, forever/forever.cpp, qmag/qmag.cpp, scribble/scribble.cpp, splitter/splitter.cpp, t8/cannon.cpp, and t9/cannon.cpp. .PP -Reimplemented in QButton, QFrame, TQGLWidget, TQSizeGrip, TQStatusBar, and QTabBar. +Reimplemented in TQButton, TQFrame, TQGLWidget, TQSizeGrip, TQStatusBar, and TQTabBar. .SH "const TQPalette & TQWidget::palette () const" Returns the widget's palette. See the "palette" property for details. .SH "const TQColor & TQWidget::paletteBackgroundColor () const" @@ -1918,7 +1918,7 @@ If the new parent widget is in a different top-level widget, the reparented widg .PP If the new parent widget is in the same top-level widget as the old parent, reparent doesn't change the tab order or keyboard focus. .PP -\fBWarning:\fR It is extremely unlikely that you will ever need this function. If you have a widget that changes its content dynamically, it is far easier to use TQWidgetStack or QWizard. +\fBWarning:\fR It is extremely unlikely that you will ever need this function. If you have a widget that changes its content dynamically, it is far easier to use TQWidgetStack or TQWizard. .PP See also getWFlags(). .PP @@ -1951,7 +1951,7 @@ See also moveEvent(), event(), size, QResizeEvent, and paintEvent(). Examples: .)l drawdemo/drawdemo.cpp, menu/menu.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, tooltip/tooltip.cpp, and xform/xform.cpp. .PP -Reimplemented in QFrame and TQGLWidget. +Reimplemented in TQFrame and TQGLWidget. .SH "void TQWidget::scroll ( int dx, int dy )" Scrolls the widget including its children \fIdx\fR pixels to the right and \fIdy\fR downwards. Both \fIdx\fR and \fIdy\fR may be negative. .PP @@ -2079,7 +2079,7 @@ See also focusProxy(). .SH "void TQWidget::setFont ( const TQFont & )\fC [virtual]\fR" Sets the font currently set for the widget. See the "font" property for details. .PP -Reimplemented in TQComboBox, TQLabel, and QTabDialog. +Reimplemented in TQComboBox, TQLabel, and TQTabDialog. .SH "void TQWidget::setFont ( const TQFont & f, bool )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP @@ -2363,14 +2363,14 @@ Reimplement this function if your widget needs to know when its GUI style change The default implementation updates the widget including its geometry. .PP See also QApplication::setStyle(), style(), update(), and updateGeometry(). -.SH "void TQWidget::tabletEvent ( QTabletEvent * e )\fC [virtual protected]\fR" +.SH "void TQWidget::tabletEvent ( TQTabletEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive tablet events for the widget. .PP If you reimplement this handler, it is very important that you ignore() the event if you do not handle it, so that the widget's parent can interpret it. .PP The default implementation ignores the event. .PP -See also QTabletEvent::ignore(), QTabletEvent::accept(), event(), and QTabletEvent. +See also TQTabletEvent::ignore(), TQTabletEvent::accept(), event(), and TQTabletEvent. .SH "WFlags TQWidget::testWFlags ( WFlags f ) const" Returns the bitwise AND of the widget flags and \fIf\fR. .PP @@ -2560,7 +2560,7 @@ setPaletteBackgroundColor() reads this property to determine which entry of the .PP For most widgets the default suffices (PaletteBackground, typically gray), but some need to use PaletteBase (the background color for text output, typically white) or another role. .PP -QListBox, which is "sunken" and uses the base color to contrast with its environment, does this in its constructor: +TQListBox, which is "sunken" and uses the base color to contrast with its environment, does this in its constructor: .PP .nf .br @@ -3086,7 +3086,7 @@ This property holds the default layout behavior of the widget. .PP If there is a QLayout that manages this widget's children, the size policy specified by that layout is used. If there is no such QLayout, the result of this function is used. .PP -The default policy is Preferred/Preferred, which means that the widget can be freely resized, but prefers to be the size sizeHint() returns. Button-like widgets set the size policy to specify that they may stretch horizontally, but are fixed vertically. The same applies to lineedit controls (such as TQLineEdit, TQSpinBox or an editable TQComboBox) and other horizontally orientated widgets (such as QProgressBar). TQToolButton's are normally square, so they allow growth in both directions. Widgets that support different directions (such as TQSlider, TQScrollBar or QHeader) specify stretching in the respective direction only. Widgets that can provide scrollbars (usually subclasses of TQScrollView) tend to specify that they can use additional space, and that they can make do with less than sizeHint(). +The default policy is Preferred/Preferred, which means that the widget can be freely resized, but prefers to be the size sizeHint() returns. Button-like widgets set the size policy to specify that they may stretch horizontally, but are fixed vertically. The same applies to lineedit controls (such as TQLineEdit, TQSpinBox or an editable TQComboBox) and other horizontally orientated widgets (such as TQProgressBar). TQToolButton's are normally square, so they allow growth in both directions. Widgets that support different directions (such as TQSlider, TQScrollBar or TQHeader) specify stretching in the respective direction only. Widgets that can provide scrollbars (usually subclasses of TQScrollView) tend to specify that they can use additional space, and that they can make do with less than sizeHint(). .PP See also sizeHint, QLayout, TQSizePolicy, and updateGeometry(). .PP |