diff options
Diffstat (limited to 'doc/html/tqwidget.html')
-rw-r--r-- | doc/html/tqwidget.html | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index cb96c2501..ac5091603 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQWidget class is the base class of all user interface objects. <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="ntqpaintdevice.html">TQPaintDevice</a>. +<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="ntqdialog.html">TQDialog</a>, <a href="ntqcombobox.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="ntqdesktopwidget.html">TQDesktopWidget</a>, <a href="ntqdial.html">TQDial</a>, <a href="ntqdockarea.html">TQDockArea</a>, <a href="qglwidget.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="ntqscrollbar.html">TQScrollBar</a>, <a href="tqsizegrip.html">TQSizeGrip</a>, <a href="ntqslider.html">TQSlider</a>, <a href="ntqspinbox.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><a href="tqwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -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="ntqevent.html">TQEvent</a>, <a href="ntqpainter.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="ntqevent.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>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="BackgroundOrigin-enum"></a>TQWidget::BackgroundOrigin</h3> @@ -758,10 +758,10 @@ union of all child widget geometries). <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. -<h3 class=fn>const <a href="ntqbrush.html">TQBrush</a> & <a name="backgroundBrush"></a>TQWidget::backgroundBrush () const +<h3 class=fn>const <a href="tqbrush.html">TQBrush</a> & <a name="backgroundBrush"></a>TQWidget::backgroundBrush () const </h3><p>Returns the widget's background brush. See the <a href="tqwidget.html#backgroundBrush-prop">"backgroundBrush"</a> property for details. -<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="backgroundColor"></a>TQWidget::backgroundColor () const +<h3 class=fn>const <a href="tqcolor.html">TQColor</a> & <a name="backgroundColor"></a>TQWidget::backgroundColor () const </h3><b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. Use <a href="#paletteBackgroundColor">paletteBackgroundColor</a>() or <a href="#eraseColor">eraseColor</a>() instead. <h3 class=fn><a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode"></a>TQWidget::backgroundMode () const @@ -865,7 +865,7 @@ widget. See the <a href="qcloseevent.html">TQCloseEvent</a> documentation for mo <p> <p>See also <a href="#event">event</a>(), <a href="#hide">hide</a>(), <a href="#close">close</a>(), and <a href="qcloseevent.html">TQCloseEvent</a>. <p>Examples: <a href="tqaction-application-example.html#x1173">action/application.cpp</a>, <a href="simple-application-example.html#x1592">application/application.cpp</a>, <a href="canvas-chart-example.html#x2896">chart/chartform.cpp</a>, <a href="i18n-example.html#x1927">i18n/mywidget.cpp</a>, <a href="mdi-example.html#x2077">mdi/application.cpp</a>, <a href="popup-example.html#x1617">popup/popup.cpp</a>, and <a href="qwerty-example.html#x404">qwerty/qwerty.cpp</a>. -<h3 class=fn>const <a href="qcolorgroup.html">TQColorGroup</a> & <a name="colorGroup"></a>TQWidget::colorGroup () const +<h3 class=fn>const <a href="tqcolorgroup.html">TQColorGroup</a> & <a name="colorGroup"></a>TQWidget::colorGroup () const </h3><p>Returns the current color group of the widget palette. See the <a href="tqwidget.html#colorGroup-prop">"colorGroup"</a> property for details. <h3 class=fn>void <a name="constPolish"></a>TQWidget::constPolish () const<tt> [slot]</tt> @@ -947,8 +947,8 @@ Draws the string <em>str</em> at position <em>(x, y)</em>. <p> The <em>y</em> position is the base line position of the text. The text is drawn using the default font and the default foreground color. <p> This function is provided for convenience. You will generally get -more flexible results and often higher speed by using a a <a href="ntqpainter.html">painter</a> instead. -<p> <p>See also <a href="#font-prop">font</a>, <a href="#foregroundColor">foregroundColor</a>(), and <a href="ntqpainter.html#drawText">TQPainter::drawText</a>(). +more flexible results and often higher speed by using a a <a href="tqpainter.html">painter</a> instead. +<p> <p>See also <a href="#font-prop">font</a>, <a href="#foregroundColor">foregroundColor</a>(), and <a href="tqpainter.html#drawText">TQPainter::drawText</a>(). <h3 class=fn>void <a name="drawText-2"></a>TQWidget::drawText ( const <a href="ntqpoint.html">TQPoint</a> & pos, const <a href="tqstring.html">TQString</a> & str ) </h3> @@ -1011,7 +1011,7 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> Erases the area defined by <em>reg</em>, without generating a <a href="#paintEvent">paint event</a>. <p> Child widgets are not affected. -<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="eraseColor"></a>TQWidget::eraseColor () const +<h3 class=fn>const <a href="tqcolor.html">TQColor</a> & <a name="eraseColor"></a>TQWidget::eraseColor () const </h3> <p> Returns the erase color of the widget. @@ -1123,10 +1123,10 @@ Returns the focus widget in this widget's window. This is not the same as <a href="ntqapplication.html#focusWidget">TQApplication::focusWidget</a>(), which returns the focus widget in the currently active window. -<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font"></a>TQWidget::font () const +<h3 class=fn><a href="tqfont.html">TQFont</a> <a name="font"></a>TQWidget::font () const </h3><p>Returns the font currently set for the widget. See the <a href="tqwidget.html#font-prop">"font"</a> property for details. -<h3 class=fn>void <a name="fontChange"></a>TQWidget::fontChange ( const <a href="ntqfont.html">TQFont</a> & oldFont )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="fontChange"></a>TQWidget::fontChange ( const <a href="tqfont.html">TQFont</a> & oldFont )<tt> [virtual protected]</tt> </h3> <p> This virtual function is called from <a href="#setFont">setFont</a>(). <em>oldFont</em> is the @@ -1138,22 +1138,22 @@ using <a href="#update">update</a>(). geometry. <p> <p>See also <a href="#font-prop">font</a>, <a href="#font-prop">font</a>, <a href="#update">update</a>(), and <a href="#updateGeometry">updateGeometry</a>(). -<h3 class=fn><a href="ntqfontinfo.html">TQFontInfo</a> <a name="fontInfo"></a>TQWidget::fontInfo () const +<h3 class=fn><a href="tqfontinfo.html">TQFontInfo</a> <a name="fontInfo"></a>TQWidget::fontInfo () const </h3> <p> Returns the font info for the widget's current font. Equivalent to TQFontInto(widget->font()). <p> <p>See also <a href="#font-prop">font</a>, <a href="#fontMetrics">fontMetrics</a>(), and <a href="#font-prop">font</a>. -<h3 class=fn><a href="ntqfontmetrics.html">TQFontMetrics</a> <a name="fontMetrics"></a>TQWidget::fontMetrics () const +<h3 class=fn><a href="tqfontmetrics.html">TQFontMetrics</a> <a name="fontMetrics"></a>TQWidget::fontMetrics () const </h3> <p> Returns the font metrics for the widget's current font. -Equivalent to <a href="ntqfontmetrics.html">TQFontMetrics</a>(widget->font()). +Equivalent to <a href="tqfontmetrics.html">TQFontMetrics</a>(widget->font()). <p> <p>See also <a href="#font-prop">font</a>, <a href="#fontInfo">fontInfo</a>(), and <a href="#font-prop">font</a>. <p>Examples: <a href="drawdemo-example.html#x1084">drawdemo/drawdemo.cpp</a> and <a href="qmag-example.html#x1797">qmag/qmag.cpp</a>. -<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="foregroundColor"></a>TQWidget::foregroundColor () const +<h3 class=fn>const <a href="tqcolor.html">TQColor</a> & <a name="foregroundColor"></a>TQWidget::foregroundColor () const </h3> Same as <a href="#paletteForegroundColor">paletteForegroundColor</a>() @@ -1423,7 +1423,7 @@ widget's children. <p> If the widget does not have a layout, <a href="#layout">layout</a>() returns 0. <p> <p>See also <a href="#sizePolicy-prop">sizePolicy</a>. -<p>Examples: <a href="tutorial2-09.html#x2647">chart/optionsform.cpp</a> and <a href="simple-font-demo-example.html#x2858">fonts/simple-qfont-demo/viewer.cpp</a>. +<p>Examples: <a href="tutorial2-09.html#x2647">chart/optionsform.cpp</a> and <a href="simple-font-demo-example.html#x2858">fonts/simple-tqfont-demo/viewer.cpp</a>. <h3 class=fn>void <a name="leaveEvent"></a>TQWidget::leaveEvent ( <a href="ntqevent.html">TQEvent</a> * )<tt> [virtual protected]</tt> </h3> This event handler can be reimplemented in a subclass to receive @@ -1505,7 +1505,7 @@ See the <a href="tqwidget.html#maximumWidth-prop">"maximumWidth"</a> property fo </h3> Internal implementation of the virtual TQPaintDevice::metric() function. -<p> Use the <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> class instead. +<p> Use the <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> class instead. <p> <em>m</em> is the metric to get. <h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="microFocusHint"></a>TQWidget::microFocusHint () const @@ -1604,7 +1604,7 @@ See the <a href="tqwidget.html#ownFont-prop">"ownFont"</a> property for details. <h3 class=fn>bool <a name="ownPalette"></a>TQWidget::ownPalette () const </h3><p>Returns TRUE if the widget uses its own palette; otherwise returns FALSE. See the <a href="tqwidget.html#ownPalette-prop">"ownPalette"</a> property for details. -<h3 class=fn>void <a name="paintEvent"></a>TQWidget::paintEvent ( <a href="qpaintevent.html">TQPaintEvent</a> * )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="paintEvent"></a>TQWidget::paintEvent ( <a href="tqpaintevent.html">TQPaintEvent</a> * )<tt> [virtual protected]</tt> </h3> This event handler can be reimplemented in a subclass to receive paint events. @@ -1614,7 +1614,7 @@ widget was obscured and has now been uncovered, or for many other reasons. <p> Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the -requested region: <a href="qpaintevent.html#region">TQPaintEvent::region</a>(). This speed optimization +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 example. @@ -1626,20 +1626,20 @@ repaint() does not permit this optimization, so we suggest using update() when possible. <p> When the paint event occurs, the update region has normally been erased, so that you're painting on the widget's background. There -are a couple of exceptions and <a href="qpaintevent.html#erased">TQPaintEvent::erased</a>() tells you +are a couple of exceptions and <a href="tqpaintevent.html#erased">TQPaintEvent::erased</a>() tells you whether the widget has been erased or not. <p> The background can be set using <a href="#setBackgroundMode">setBackgroundMode</a>(), <a href="#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() or <a href="#setBackgroundPixmap">setBackgroundPixmap</a>(). The documentation for setBackgroundMode() elaborates on the 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="ntqpainter.html">TQPainter</a>, <a href="ntqpixmap.html">TQPixmap</a>, and <a href="qpaintevent.html">TQPaintEvent</a>. +<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="ntqpixmap.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="qglwidget.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>. <h3 class=fn>const <a href="ntqpalette.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. -<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="paletteBackgroundColor"></a>TQWidget::paletteBackgroundColor () const +<h3 class=fn>const <a href="tqcolor.html">TQColor</a> & <a name="paletteBackgroundColor"></a>TQWidget::paletteBackgroundColor () const </h3><p>Returns the background color of the widget. See the <a href="tqwidget.html#paletteBackgroundColor-prop">"paletteBackgroundColor"</a> property for details. <h3 class=fn>const <a href="ntqpixmap.html">TQPixmap</a> * <a name="paletteBackgroundPixmap"></a>TQWidget::paletteBackgroundPixmap () const @@ -1655,7 +1655,7 @@ is the previous palette; you can get the new palette from palette changes. <p> <p>See also <a href="#palette-prop">palette</a> and <a href="#palette-prop">palette</a>. -<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="paletteForegroundColor"></a>TQWidget::paletteForegroundColor () const +<h3 class=fn>const <a href="tqcolor.html">TQColor</a> & <a name="paletteForegroundColor"></a>TQWidget::paletteForegroundColor () const </h3><p>Returns the foreground color of the widget. See the <a href="tqwidget.html#paletteForegroundColor-prop">"paletteForegroundColor"</a> property for details. <h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="parentWidget"></a>TQWidget::parentWidget ( bool sameWindow = FALSE ) const @@ -1835,7 +1835,7 @@ repainting. The paint event may be delivered immediately or later, depending on some heuristics (note that you might have to force processing of paint events using <a href="ntqapplication.html#sendPostedEvents">TQApplication::sendPostedEvents</a>() when using scroll() and <a href="#move">move</a>() in combination). -<p> <p>See also <a href="ntqscrollview.html">TQScrollView</a>, <a href="#erase">erase</a>(), and <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>(). +<p> <p>See also <a href="ntqscrollview.html">TQScrollView</a>, <a href="#erase">erase</a>(), and <a href="tqpaintdevice.html#bitBlt">bitBlt</a>(). <h3 class=fn>void <a name="scroll-2"></a>TQWidget::scroll ( int dx, int dy, const <a href="ntqrect.html">TQRect</a> & r ) </h3> @@ -1843,7 +1843,7 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> This version only scrolls <em>r</em> and does not move the children of the widget. <p> If <em>r</em> is empty or invalid, the result is undefined. -<p> <p>See also <a href="ntqscrollview.html">TQScrollView</a>, <a href="#erase">erase</a>(), and <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>(). +<p> <p>See also <a href="ntqscrollview.html">TQScrollView</a>, <a href="#erase">erase</a>(), and <a href="tqpaintdevice.html#bitBlt">bitBlt</a>(). <h3 class=fn>void <a name="setAcceptDrops"></a>TQWidget::setAcceptDrops ( bool on )<tt> [virtual]</tt> </h3><p>Sets whether drop events are enabled for this widget to <em>on</em>. @@ -1871,7 +1871,7 @@ in another application. <h3 class=fn>void <a name="setAutoMask"></a>TQWidget::setAutoMask ( bool )<tt> [virtual]</tt> </h3><p>Sets whether the auto mask feature is enabled for the widget. See the <a href="tqwidget.html#autoMask-prop">"autoMask"</a> property for details. -<h3 class=fn>void <a name="setBackgroundColor"></a>TQWidget::setBackgroundColor ( const <a href="ntqcolor.html">TQColor</a> & c )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setBackgroundColor"></a>TQWidget::setBackgroundColor ( const <a href="tqcolor.html">TQColor</a> & c )<tt> [virtual]</tt> </h3><b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. Use <a href="#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() or <a href="#setEraseColor">setEraseColor</a>() instead. <p>Examples: <a href="customlayout-example.html#x1540">customlayout/main.cpp</a>, <a href="desktop-example.html#x1761">desktop/desktop.cpp</a>, <a href="hello-example.html#x1648">hello/main.cpp</a>, <a href="movies-example.html#x523">movies/main.cpp</a>, and <a href="splitter-example.html#x1303">splitter/splitter.cpp</a>. @@ -1926,7 +1926,7 @@ enables input events. <h3 class=fn>void <a name="setEnabled"></a>TQWidget::setEnabled ( bool )<tt> [virtual slot]</tt> </h3><p>Sets whether the widget is enabled. See the <a href="tqwidget.html#enabled-prop">"enabled"</a> property for details. -<h3 class=fn>void <a name="setEraseColor"></a>TQWidget::setEraseColor ( const <a href="ntqcolor.html">TQColor</a> & color )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setEraseColor"></a>TQWidget::setEraseColor ( const <a href="tqcolor.html">TQColor</a> & color )<tt> [virtual]</tt> </h3> Sets the erase color of the widget to <em>color</em>. <p> The erase color is the color the widget is to be cleared to before @@ -1946,7 +1946,7 @@ Sets both the minimum and maximum heights of the widget to <em>h</em> without changing the widths. Provided for convenience. <p> <p>See also <a href="#sizeHint-prop">sizeHint</a>, <a href="#minimumSize-prop">minimumSize</a>, <a href="#maximumSize-prop">maximumSize</a>, and <a href="#setFixedSize">setFixedSize</a>(). -<p>Examples: <a href="simple-font-demo-example.html#x2859">fonts/simple-qfont-demo/viewer.cpp</a>, <a href="layout-example.html#x545">layout/layout.cpp</a>, <a href="tqdir-example.html#x1852">tqdir/tqdir.cpp</a>, and <a href="showimg-example.html#x1354">showimg/showimg.cpp</a>. +<p>Examples: <a href="simple-font-demo-example.html#x2859">fonts/simple-tqfont-demo/viewer.cpp</a>, <a href="layout-example.html#x545">layout/layout.cpp</a>, <a href="tqdir-example.html#x1852">tqdir/tqdir.cpp</a>, and <a href="showimg-example.html#x1354">showimg/showimg.cpp</a>. <h3 class=fn>void <a name="setFixedSize"></a>TQWidget::setFixedSize ( const <a href="tqsize.html">TQSize</a> & s ) </h3> Sets both the minimum and maximum sizes of the widget to <em>s</em>, @@ -1999,15 +1999,15 @@ creates a <a href="ntqlineedit.html">TQLineEdit</a> which handles the focus. focus proxy. <p> <p>See also <a href="#focusProxy">focusProxy</a>(). -<h3 class=fn>void <a name="setFont"></a>TQWidget::setFont ( const <a href="ntqfont.html">TQFont</a> & )<tt> [virtual]</tt> +<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="ntqcombobox.html#setFont">TQComboBox</a>, <a href="ntqlabel.html#setFont">TQLabel</a>, and <a href="ntqtabdialog.html#setFont">TQTabDialog</a>. -<h3 class=fn>void <a name="setFont-2"></a>TQWidget::setFont ( const <a href="ntqfont.html">TQFont</a> & f, bool ) +<h3 class=fn>void <a name="setFont-2"></a>TQWidget::setFont ( const <a href="tqfont.html">TQFont</a> & f, bool ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Use <a href="#setFont">setFont</a>(const <a href="ntqfont.html">TQFont</a>& font) instead. +<p> Use <a href="#setFont">setFont</a>(const <a href="tqfont.html">TQFont</a>& font) instead. <h3 class=fn>void <a name="setGeometry"></a>TQWidget::setGeometry ( const <a href="ntqrect.html">TQRect</a> & )<tt> [virtual slot]</tt> </h3><p>Sets the geometry of the widget relative to its parent and excluding the window frame. @@ -2093,7 +2093,7 @@ to <em>maxh</em>. <h3 class=fn>void <a name="setMaximumWidth"></a>TQWidget::setMaximumWidth ( int maxw ) </h3><p>Sets the widget's maximum width to <em>maxw</em>. See the <a href="tqwidget.html#maximumWidth-prop">"maximumWidth"</a> property for details. -<h3 class=fn>void <a name="setMicroFocusHint"></a>TQWidget::setMicroFocusHint ( int x, int y, int width, int height, bool text = TRUE, <a href="ntqfont.html">TQFont</a> * f = 0 )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="setMicroFocusHint"></a>TQWidget::setMicroFocusHint ( int x, int y, int width, int height, bool text = TRUE, <a href="tqfont.html">TQFont</a> * f = 0 )<tt> [virtual protected]</tt> </h3> When a widget gets focus, it should call <a href="#setMicroFocusHint">setMicroFocusHint</a>() with some appropriate position and size, <em>x</em>, <em>y</em>, <em>width</em> and <em>height</em>. This has no <em>visual</em> effect, it just provides hints to @@ -2138,13 +2138,13 @@ See the <a href="tqwidget.html#palette-prop">"palette"</a> property for details. <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Use <a href="#setPalette">setPalette</a>( const <a href="ntqpalette.html">TQPalette</a>& p ) instead. -<h3 class=fn>void <a name="setPaletteBackgroundColor"></a>TQWidget::setPaletteBackgroundColor ( const <a href="ntqcolor.html">TQColor</a> & )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setPaletteBackgroundColor"></a>TQWidget::setPaletteBackgroundColor ( const <a href="tqcolor.html">TQColor</a> & )<tt> [virtual]</tt> </h3><p>Sets the background color of the widget. See the <a href="tqwidget.html#paletteBackgroundColor-prop">"paletteBackgroundColor"</a> property for details. <h3 class=fn>void <a name="setPaletteBackgroundPixmap"></a>TQWidget::setPaletteBackgroundPixmap ( const <a href="ntqpixmap.html">TQPixmap</a> & )<tt> [virtual]</tt> </h3><p>Sets the background pixmap of the widget. See the <a href="tqwidget.html#paletteBackgroundPixmap-prop">"paletteBackgroundPixmap"</a> property for details. -<h3 class=fn>void <a name="setPaletteForegroundColor"></a>TQWidget::setPaletteForegroundColor ( const <a href="ntqcolor.html">TQColor</a> & ) +<h3 class=fn>void <a name="setPaletteForegroundColor"></a>TQWidget::setPaletteForegroundColor ( const <a href="tqcolor.html">TQColor</a> & ) </h3><p>Sets the foreground color of the widget. See the <a href="tqwidget.html#paletteForegroundColor-prop">"paletteForegroundColor"</a> property for details. <h3 class=fn>void <a name="setShown"></a>TQWidget::setShown ( bool show )<tt> [slot]</tt> @@ -2586,7 +2586,7 @@ together seamlessly, you will probably want to use <p> <p>See also <a href="#updateMask">updateMask</a>(), <a href="#setMask">setMask</a>(), <a href="#clearMask">clearMask</a>(), and <a href="#backgroundOrigin-prop">backgroundOrigin</a>. <p>Set this property's value with <a href="#setAutoMask">setAutoMask</a>() and get this property's value with <a href="#autoMask">autoMask</a>(). -<h3 class=fn><a href="ntqbrush.html">TQBrush</a> <a name="backgroundBrush-prop"></a>backgroundBrush</h3> +<h3 class=fn><a href="tqbrush.html">TQBrush</a> <a name="backgroundBrush-prop"></a>backgroundBrush</h3> <p>This property holds the widget's background brush. <p>The background brush depends on a widget's palette and its background mode. @@ -2655,7 +2655,7 @@ caption has been set, the caption is <a href="tqstring.html#TQString-null">TQStr <p> <p>See also <a href="#childrenRect-prop">childrenRect</a> and <a href="#geometry-prop">geometry</a>. <p>Get this property's value with <a href="#childrenRegion">childrenRegion</a>(). -<h3 class=fn><a href="qcolorgroup.html">TQColorGroup</a> <a name="colorGroup-prop"></a>colorGroup</h3> +<h3 class=fn><a href="tqcolorgroup.html">TQColorGroup</a> <a name="colorGroup-prop"></a>colorGroup</h3> <p>This property holds the current color group of the widget palette. <p>The color group is determined by the state of the widget. A disabled widget has the <a href="ntqpalette.html#disabled">TQPalette::disabled</a>() color group, a widget @@ -2740,7 +2740,7 @@ constructor. For instance, the <a href="ntqlineedit.html">TQLineEdit</a> constru <p> <p>See also <a href="#focusEnabled-prop">focusEnabled</a>, <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#keyPressEvent">keyPressEvent</a>(), <a href="#keyReleaseEvent">keyReleaseEvent</a>(), and <a href="#enabled-prop">enabled</a>. <p>Set this property's value with <a href="#setFocusPolicy">setFocusPolicy</a>() and get this property's value with <a href="#focusPolicy">focusPolicy</a>(). -<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font-prop"></a>font</h3> +<h3 class=fn><a href="tqfont.html">TQFont</a> <a name="font-prop"></a>font</h3> <p>This property holds the font currently set for the widget. <p>The <a href="#fontInfo">fontInfo</a>() function reports the actual font that is being used by the widget. @@ -2750,7 +2750,7 @@ parent's font or (if this widget is a top level widget), the default application font. <p> This code fragment sets a 12 point helvetica bold font: <pre> - <a href="ntqfont.html">TQFont</a> f( "Helvetica", 12, TQFont::Bold ); + <a href="tqfont.html">TQFont</a> f( "Helvetica", 12, TQFont::Bold ); <a href="#setFont">setFont</a>( f ); </pre> @@ -2999,7 +2999,7 @@ background and foreground appearance only. <p> <p>See also <a href="#ownPalette-prop">ownPalette</a>, <a href="#colorGroup-prop">colorGroup</a>, and <a href="ntqapplication.html#palette">TQApplication::palette</a>(). <p>Set this property's value with <a href="#setPalette">setPalette</a>(), get this property's value with <a href="#palette">palette</a>(), and reset this property's value with <a href="#unsetPalette">unsetPalette</a>(). -<h3 class=fn><a href="ntqcolor.html">TQColor</a> <a name="paletteBackgroundColor-prop"></a>paletteBackgroundColor</h3> +<h3 class=fn><a href="tqcolor.html">TQColor</a> <a name="paletteBackgroundColor-prop"></a>paletteBackgroundColor</h3> <p>This property holds the background color of the widget. <p>The palette background color is usually set implicitly by <a href="#setBackgroundMode">setBackgroundMode</a>(), although it can also be set explicitly by @@ -3007,7 +3007,7 @@ background and foreground appearance only. convenience function that creates and sets a modified <a href="ntqpalette.html">TQPalette</a> with <a href="#setPalette">setPalette</a>(). The palette is modified according to the widget's background mode. For example, if the background mode is -<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. +<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. <p> If there is a background pixmap (set using <a href="#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>()), then the return value of this function is indeterminate. @@ -3023,19 +3023,19 @@ convenience function that creates and sets a modified <a href="ntqpalette.html"> with <a href="#setPalette">setPalette</a>(). The palette is modified according to the widget's background mode. For example, if the background mode is <a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's -<a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. +<a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. <p> If there is a plain background color (set using <a href="#setPaletteBackgroundColor">setPaletteBackgroundColor</a>()), then this function returns 0. <p> <p>See also <a href="#paletteBackgroundColor-prop">paletteBackgroundColor</a>, <a href="#paletteForegroundColor-prop">paletteForegroundColor</a>, <a href="#palette-prop">palette</a>, and <a href="#colorGroup-prop">colorGroup</a>. <p>Set this property's value with <a href="#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>(), get this property's value with <a href="#paletteBackgroundPixmap">paletteBackgroundPixmap</a>(), and reset this property's value with <a href="#unsetPalette">unsetPalette</a>(). -<h3 class=fn><a href="ntqcolor.html">TQColor</a> <a name="paletteForegroundColor-prop"></a>paletteForegroundColor</h3> +<h3 class=fn><a href="tqcolor.html">TQColor</a> <a name="paletteForegroundColor-prop"></a>paletteForegroundColor</h3> <p>This property holds the foreground color of the widget. <p>setPaletteForegroundColor() is a convenience function that creates and sets a modified <a href="ntqpalette.html">TQPalette</a> with <a href="#setPalette">setPalette</a>(). The palette is modified according to the widget's <em>background mode</em>. For example, if the background mode is <a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry -<a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ButtonText</a> is set to color. +<a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ButtonText</a> is set to color. <p> <p>See also <a href="#palette-prop">palette</a>, <a href="ntqapplication.html#setPalette">TQApplication::setPalette</a>(), <a href="#backgroundMode-prop">backgroundMode</a>, <a href="#foregroundColor">foregroundColor</a>(), <a href="#backgroundMode-prop">backgroundMode</a>, and <a href="#setEraseColor">setEraseColor</a>(). <p>Set this property's value with <a href="#setPaletteForegroundColor">setPaletteForegroundColor</a>(), get this property's value with <a href="#paletteForegroundColor">paletteForegroundColor</a>(), and reset this property's value with <a href="#unsetPalette">unsetPalette</a>(). |