diff options
Diffstat (limited to 'doc/html/tqwidget.html')
-rw-r--r-- | doc/html/tqwidget.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index 666099443..1049e11c1 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="ntqbutton.html">TQButton</a>, <a href="ntqframe.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="ntqdockarea.html">TQDockArea</a>, <a href="tqglwidget.html">TQGLWidget</a>, <a href="ntqheader.html">TQHeader</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="qmotifwidget.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="ntqtabbar.html">TQTabBar</a>, <a href="ntqtabwidget.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="ntqdockarea.html">TQDockArea</a>, <a href="tqglwidget.html">TQGLWidget</a>, <a href="tqheader.html">TQHeader</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="qmotifwidget.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><a href="tqwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -402,8 +402,8 @@ probably want to add a layout to the parent TQWidget. (See <a href="layout.html" <p> 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 <a href="tqpushbutton.html">TQPushButton</a>, <a href="ntqlistbox.html">TQListBox</a> and -<a href="ntqtabdialog.html">TQTabDialog</a>, etc. +provide real functionality, such as <a href="tqpushbutton.html">TQPushButton</a>, <a href="tqlistbox.html">TQListBox</a> and +<a href="tqtabdialog.html">TQTabDialog</a>, etc. <p> <h3> Groups of functions: </h3> <a name="1"></a><p> <center><table cellpadding="4" cellspacing="2" border="0"> @@ -681,7 +681,7 @@ indicates a "good" size for the widget. <p> <li> If your widget is a top-level window, <a href="#setCaption">setCaption</a>() and <a href="#setIcon">setIcon</a>() set the title bar and icon respectively. <p> </ul> -<p> <p>See also <a href="tqevent.html">TQEvent</a>, <a href="tqpainter.html">TQPainter</a>, <a href="qgridlayout.html">TQGridLayout</a>, <a href="qboxlayout.html">TQBoxLayout</a>, and <a href="abstractwidgets.html">Abstract Widget Classes</a>. +<p> <p>See also <a href="tqevent.html">TQEvent</a>, <a href="tqpainter.html">TQPainter</a>, <a href="tqgridlayout.html">TQGridLayout</a>, <a href="qboxlayout.html">TQBoxLayout</a>, and <a href="abstractwidgets.html">Abstract Widget Classes</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="BackgroundOrigin-enum"></a>TQWidget::BackgroundOrigin</h3> @@ -1616,7 +1616,7 @@ reasons. to, but some slow widgets need to optimize by painting only the requested region: <a href="tqpaintevent.html#region">TQPaintEvent::region</a>(). This speed optimization does not change the result, as painting is clipped to that region -during event processing. <a href="ntqlistview.html">TQListView</a> and <a href="tqcanvas.html">TQCanvas</a> do this, for +during event processing. <a href="tqlistview.html">TQListView</a> and <a href="tqcanvas.html">TQCanvas</a> do this, for example. <p> TQt also tries to speed up painting by merging multiple paint events into one. When update() is called several times or the @@ -1635,7 +1635,7 @@ background; we recommend reading it. <p> <p>See also <a href="#event">event</a>(), <a href="#repaint">repaint</a>(), <a href="#update">update</a>(), <a href="tqpainter.html">TQPainter</a>, <a href="tqpixmap.html">TQPixmap</a>, and <a href="tqpaintevent.html">TQPaintEvent</a>. <p>Examples: <a href="drawlines-example.html#x1661">drawlines/connect.cpp</a>, <a href="forever-example.html#x1055">forever/forever.cpp</a>, <a href="qmag-example.html#x1803">qmag/qmag.cpp</a>, <a href="scribble-example.html#x951">scribble/scribble.cpp</a>, <a href="splitter-example.html#x1302">splitter/splitter.cpp</a>, <a href="tutorial1-08.html#x2336">t8/cannon.cpp</a>, and <a href="tutorial1-09.html#x2346">t9/cannon.cpp</a>. -<p>Reimplemented in <a href="ntqbutton.html#paintEvent">TQButton</a>, <a href="ntqframe.html#paintEvent">TQFrame</a>, <a href="tqglwidget.html#paintEvent">TQGLWidget</a>, <a href="tqsizegrip.html#paintEvent">TQSizeGrip</a>, <a href="tqstatusbar.html#paintEvent">TQStatusBar</a>, and <a href="ntqtabbar.html#paintEvent">TQTabBar</a>. +<p>Reimplemented in <a href="tqbutton.html#paintEvent">TQButton</a>, <a href="tqframe.html#paintEvent">TQFrame</a>, <a href="tqglwidget.html#paintEvent">TQGLWidget</a>, <a href="tqsizegrip.html#paintEvent">TQSizeGrip</a>, <a href="tqstatusbar.html#paintEvent">TQStatusBar</a>, and <a href="tqtabbar.html#paintEvent">TQTabBar</a>. <h3 class=fn>const <a href="tqpalette.html">TQPalette</a> & <a name="palette"></a>TQWidget::palette () const </h3><p>Returns the widget's palette. See the <a href="tqwidget.html#palette-prop">"palette"</a> property for details. @@ -1781,7 +1781,7 @@ old parent, reparent doesn't change the tab order or keyboard focus. <p> <b>Warning:</b> 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 <a href="tqwidgetstack.html">TQWidgetStack</a> or <a href="ntqwizard.html">TQWizard</a>. +dynamically, it is far easier to use <a href="tqwidgetstack.html">TQWidgetStack</a> or <a href="tqwizard.html">TQWizard</a>. <p> <p>See also <a href="#getWFlags">getWFlags</a>(). <p>Example: <a href="toplevel-example.html#x2538">toplevel/options.ui.h</a>. @@ -1823,7 +1823,7 @@ done inside this handler. <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>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="ntqframe.html#resizeEvent">TQFrame</a> and <a href="tqglwidget.html#resizeEvent">TQGLWidget</a>. +<p>Reimplemented in <a href="tqframe.html#resizeEvent">TQFrame</a> and <a href="tqglwidget.html#resizeEvent">TQGLWidget</a>. <h3 class=fn>void <a name="scroll"></a>TQWidget::scroll ( int dx, int dy ) </h3> Scrolls the widget including its children <em>dx</em> pixels to the @@ -2002,7 +2002,7 @@ focus proxy. <h3 class=fn>void <a name="setFont"></a>TQWidget::setFont ( const <a href="tqfont.html">TQFont</a> & )<tt> [virtual]</tt> </h3><p>Sets the font currently set for the widget. See the <a href="tqwidget.html#font-prop">"font"</a> property for details. -<p>Reimplemented in <a href="tqcombobox.html#setFont">TQComboBox</a>, <a href="tqlabel.html#setFont">TQLabel</a>, and <a href="ntqtabdialog.html#setFont">TQTabDialog</a>. +<p>Reimplemented in <a href="tqcombobox.html#setFont">TQComboBox</a>, <a href="tqlabel.html#setFont">TQLabel</a>, and <a href="tqtabdialog.html#setFont">TQTabDialog</a>. <h3 class=fn>void <a name="setFont-2"></a>TQWidget::setFont ( const <a href="tqfont.html">TQFont</a> & f, bool ) </h3> @@ -2358,15 +2358,15 @@ widget using <a href="#update">update</a>(). geometry. <p> <p>See also <a href="ntqapplication.html#setStyle">TQApplication::setStyle</a>(), <a href="#style">style</a>(), <a href="#update">update</a>(), and <a href="#updateGeometry">updateGeometry</a>(). -<h3 class=fn>void <a name="tabletEvent"></a>TQWidget::tabletEvent ( <a href="qtabletevent.html">TQTabletEvent</a> * e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="tabletEvent"></a>TQWidget::tabletEvent ( <a href="tqtabletevent.html">TQTabletEvent</a> * e )<tt> [virtual protected]</tt> </h3> This event handler, for event <em>e</em>, can be reimplemented in a subclass to receive tablet events for the widget. <p> If you reimplement this handler, it is very important that you -<a href="qtabletevent.html">ignore()</a> the event if you do not handle +<a href="tqtabletevent.html">ignore()</a> the event if you do not handle it, so that the widget's parent can interpret it. <p> The default implementation ignores the event. -<p> <p>See also <a href="qtabletevent.html#ignore">TQTabletEvent::ignore</a>(), <a href="qtabletevent.html#accept">TQTabletEvent::accept</a>(), <a href="#event">event</a>(), and <a href="qtabletevent.html">TQTabletEvent</a>. +<p> <p>See also <a href="tqtabletevent.html#ignore">TQTabletEvent::ignore</a>(), <a href="tqtabletevent.html#accept">TQTabletEvent::accept</a>(), <a href="#event">event</a>(), and <a href="tqtabletevent.html">TQTabletEvent</a>. <h3 class=fn>WFlags <a name="testWFlags"></a>TQWidget::testWFlags ( WFlags f ) const </h3> @@ -2601,7 +2601,7 @@ entry of the <a href="#palette-prop">palette</a> to set. typically gray), but some need to use <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> (the background color for text output, typically white) or another role. -<p> <a href="ntqlistbox.html">TQListBox</a>, which is "sunken" and uses the base color to contrast +<p> <a href="tqlistbox.html">TQListBox</a>, which is "sunken" and uses the base color to contrast with its environment, does this in its constructor: <p> <pre> <a href="#setBackgroundMode">setBackgroundMode</a>( <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> ); @@ -3129,10 +3129,10 @@ widget can be freely resized, but prefers to be the size specify that they may stretch horizontally, but are fixed vertically. The same applies to lineedit controls (such as <a href="tqlineedit.html">TQLineEdit</a>, <a href="tqspinbox.html">TQSpinBox</a> or an editable <a href="tqcombobox.html">TQComboBox</a>) and other -horizontally orientated widgets (such as <a href="ntqprogressbar.html">TQProgressBar</a>). +horizontally orientated widgets (such as <a href="tqprogressbar.html">TQProgressBar</a>). <a href="tqtoolbutton.html">TQToolButton</a>'s are normally square, so they allow growth in both directions. Widgets that support different directions (such as -<a href="tqslider.html">TQSlider</a>, <a href="tqscrollbar.html">TQScrollBar</a> or <a href="ntqheader.html">TQHeader</a>) specify stretching in the +<a href="tqslider.html">TQSlider</a>, <a href="tqscrollbar.html">TQScrollBar</a> or <a href="tqheader.html">TQHeader</a>) specify stretching in the respective direction only. Widgets that can provide scrollbars (usually subclasses of <a href="tqscrollview.html">TQScrollView</a>) tend to specify that they can use additional space, and that they can make do with less than |