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 a71e0210b..a84c38c22 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="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>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="tqsplashscreen.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> @@ -564,8 +564,8 @@ wmapper(), <ol type=1> <li> <tt>TQWidget *parent = 0</tt> is the parent of the new widget. If it is 0 (the default), the new widget will be a top-level window. -If not, it will be a child of <em>parent</em>, and be constrained by <em>parent</em>'s geometry (unless you specify <a href="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> as -<a href="ntqt.html#WidgetFlags">widget flag</a>). +If not, it will be a child of <em>parent</em>, and be constrained by <em>parent</em>'s geometry (unless you specify <a href="tqt.html#WidgetFlags-enum">WType_TopLevel</a> as +<a href="tqt.html#WidgetFlags">widget flag</a>). <li> <tt>const char *name = 0</tt> is the widget name of the new widget. You can access it using <a href="tqobject.html#name">name</a>(). The widget name is little used by programmers but is quite useful with GUI builders such as @@ -721,7 +721,7 @@ inside <em>parent</em>. The new widget is deleted when its <em>parent</em> is deleted. <p> The <em>name</em> is sent to the <a href="tqobject.html">TQObject</a> constructor. <p> The widget flags argument, <em>f</em>, is normally 0, but it can be set -to customize the window frame of a top-level widget (i.e. <em>parent</em> must be 0). To customize the frame, set the <a href="ntqt.html#WidgetFlags-enum">WStyle_Customize</a> flag OR'ed with any of the <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +to customize the window frame of a top-level widget (i.e. <em>parent</em> must be 0). To customize the frame, set the <a href="tqt.html#WidgetFlags-enum">WStyle_Customize</a> flag OR'ed with any of the <a href="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <p> If you add a child widget to an already visible widget you must explicitly show the child to make it visible. <p> Note that the X11 version of TQt may not be able to deliver all @@ -764,7 +764,7 @@ See the <a href="tqwidget.html#backgroundBrush-prop">"backgroundBrush"</a> prope <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 +<h3 class=fn><a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode"></a>TQWidget::backgroundMode () const </h3><p>Returns the color role used for painting the background of the widget. See the <a href="tqwidget.html#backgroundMode-prop">"backgroundMode"</a> property for details. <h3 class=fn><a href="tqwidget.html#BackgroundOrigin-enum">BackgroundOrigin</a> <a name="backgroundOrigin"></a>TQWidget::backgroundOrigin () const @@ -819,7 +819,7 @@ Removes any mask set by <a href="#setMask">setMask</a>(). </h3> <p> Clears the widget flags <em>f</em>. -<p> Widget flags are a combination of <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> Widget flags are a combination of <a href="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <p> <p>See also <a href="#testWFlags">testWFlags</a>(), <a href="#getWFlags">getWFlags</a>(), and <a href="#setWFlags">setWFlags</a>(). <h3 class=fn><a href="tqregion.html">TQRegion</a> <a name="clipRegion"></a>TQWidget::clipRegion () const @@ -846,7 +846,7 @@ last visible top level widget is closed. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Closes this widget. Returns TRUE if the widget was closed; otherwise returns FALSE. -<p> If <em>alsoDelete</em> is TRUE or the widget has the <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag, the widget is also deleted. The +<p> If <em>alsoDelete</em> is TRUE or the widget has the <a href="tqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag, the widget is also deleted. The widget can prevent itself from being closed by rejecting the <a href="tqcloseevent.html">TQCloseEvent</a> it gets. A close events is delivered to the widget no matter if the widget is visible or not. @@ -1044,7 +1044,7 @@ someone (i.e. someone wanted the event); otherwise returns FALSE. </h3> Returns a pointer to the widget with window identifer/handle <em>id</em>. <p> The window identifier type depends on the underlying window -system, see <a href="qwindowdefs-h.html">ntqwindowdefs.h</a> for the actual definition. If there +system, see <a href="tqwindowdefs-h.html">tqwindowdefs.h</a> for the actual definition. If there is no widget with this identifier, 0 is returned. <h3 class=fn><a href="tqfocusdata.html">TQFocusData</a> * <a name="focusData"></a>TQWidget::focusData ()<tt> [protected]</tt> @@ -1170,7 +1170,7 @@ See the <a href="tqwidget.html#geometry-prop">"geometry"</a> property for detail </h3> <p> Returns the widget flags for this this widget. -<p> Widget flags are a combination of <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> Widget flags are a combination of <a href="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <p> <p>See also <a href="#testWFlags">testWFlags</a>(), <a href="#setWFlags">setWFlags</a>(), and <a href="#clearWFlags">clearWFlags</a>(). <h3 class=fn>void <a name="grabKeyboard"></a>TQWidget::grabKeyboard () @@ -1790,7 +1790,7 @@ dynamically, it is far easier to use <a href="tqwidgetstack.html">TQWidgetStack< This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> A convenience version of reparent that does not take widget flags as argument. -<p> Calls <a href="#reparent">reparent</a>(<em>parent</em>, <a href="#getWFlags">getWFlags</a>() & ~<a href="ntqt.html#WidgetFlags-enum">WType_Mask</a>, <em>p</em>, <em>showIt</em>). +<p> Calls <a href="#reparent">reparent</a>(<em>parent</em>, <a href="#getWFlags">getWFlags</a>() & ~<a href="tqt.html#WidgetFlags-enum">WType_Mask</a>, <em>p</em>, <em>showIt</em>). <h3 class=fn>void <a name="resetInputContext"></a>TQWidget::resetInputContext ()<tt> [protected]</tt> </h3> @@ -1814,7 +1814,7 @@ already has its new geometry. The old size is accessible through <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. -<p> Widgets that have been created with the <a href="ntqt.html#WidgetFlags-enum">WNoAutoErase</a> flag +<p> Widgets that have been created with the <a href="tqt.html#WidgetFlags-enum">WNoAutoErase</a> flag will not be erased. Nevertheless, they will receive a paint event for their entire area afterwards. Again, no drawing needs to be done inside this handler. @@ -1875,10 +1875,10 @@ See the <a href="tqwidget.html#autoMask-prop">"autoMask"</a> property for detail </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>. -<h3 class=fn>void <a name="setBackgroundMode"></a>TQWidget::setBackgroundMode ( <a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a> )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setBackgroundMode"></a>TQWidget::setBackgroundMode ( <a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> )<tt> [virtual]</tt> </h3><p>Sets the color role used for painting the background of the widget. See the <a href="tqwidget.html#backgroundMode-prop">"backgroundMode"</a> property for details. -<h3 class=fn>void <a name="setBackgroundMode-2"></a>TQWidget::setBackgroundMode ( <a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a> m, <a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a> visual ) +<h3 class=fn>void <a name="setBackgroundMode-2"></a>TQWidget::setBackgroundMode ( <a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> m, <a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> visual ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the widget's own background mode to <em>m</em> and the visual @@ -1886,10 +1886,10 @@ background mode to <em>visual</em>. The visual background mode is used with the designable properties <tt>backgroundColor</tt>, <tt>foregroundColor</tt> and <tt>backgroundPixmap</tt>. <p> For complex controls, the logical background mode sometimes differs from a widget's own background mode. A spinbox for example -has <a href="ntqt.html#BackgroundMode-enum">PaletteBackground</a> as background mode (typically dark gray), -while it's embedded lineedit control uses <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> +has <a href="tqt.html#BackgroundMode-enum">PaletteBackground</a> as background mode (typically dark gray), +while it's embedded lineedit control uses <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> (typically white). Since the lineedit covers most of the visual -area of a spinbox, it defines <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> to be its <em>visual</em> +area of a spinbox, it defines <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> to be its <em>visual</em> background mode. Changing the <tt>backgroundColor</tt> property thus changes the lineedit control's background, which is exactly what the user expects in <em>TQt Designer</em>. @@ -2220,7 +2220,7 @@ See the <a href="tqwidget.html#updatesEnabled-prop">"updatesEnabled"</a> propert </h3> <p> Sets the widget flags <em>f</em>. -<p> Widget flags are a combination of <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> Widget flags are a combination of <a href="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <p> <p>See also <a href="#testWFlags">testWFlags</a>(), <a href="#getWFlags">getWFlags</a>(), and <a href="#clearWFlags">clearWFlags</a>(). <h3 class=fn>void <a name="setWindowOpacity"></a>TQWidget::setWindowOpacity ( double level ) @@ -2229,8 +2229,8 @@ See the <a href="tqwidget.html#windowOpacity-prop">"windowOpacity"</a> property <h3 class=fn>void <a name="setWindowState"></a>TQWidget::setWindowState ( uint windowState ) </h3> -<p> Sets the <a href="ntqt.html#WindowState">window state</a> to <em>windowState</em>. The window state is a OR'ed -combination of TQt::WindowState: <a href="ntqt.html#WindowState-enum">WindowMinimized</a>, <a href="ntqt.html#WindowState-enum">WindowMaximized</a>, <a href="ntqt.html#WindowState-enum">WindowFullScreen</a> and <a href="ntqt.html#WindowState-enum">WindowActive</a>. +<p> Sets the <a href="tqt.html#WindowState">window state</a> to <em>windowState</em>. The window state is a OR'ed +combination of TQt::WindowState: <a href="tqt.html#WindowState-enum">WindowMinimized</a>, <a href="tqt.html#WindowState-enum">WindowMaximized</a>, <a href="tqt.html#WindowState-enum">WindowFullScreen</a> and <a href="tqt.html#WindowState-enum">WindowActive</a>. <p> If the window is not visible (i.e. <a href="#isVisible">isVisible</a>() returns FALSE), the window state will take effect when <a href="#show">show</a>() is called. For visible windows, the change is immediate. For example, to toggle between @@ -2245,9 +2245,9 @@ preserving its maximized and/or full-screen state), use the following: w->setWindowState(w->windowState() & ~WindowMinimized | WindowActive); </pre> -<p> Note: On some window systems <a href="ntqt.html#WindowState-enum">WindowActive</a> is not immediate, and may be +<p> Note: On some window systems <a href="tqt.html#WindowState-enum">WindowActive</a> is not immediate, and may be ignored in certain cases. -<p> <p>See also <a href="ntqt.html#WindowState-enum">TQt::WindowState</a> and <a href="#windowState">windowState</a>(). +<p> <p>See also <a href="tqt.html#WindowState-enum">TQt::WindowState</a> and <a href="#windowState">windowState</a>(). <h3 class=fn>void <a name="show"></a>TQWidget::show ()<tt> [virtual slot]</tt> </h3> @@ -2262,14 +2262,14 @@ instead. If you need to do some delayed initialization use <p>Examples: <a href="aclock-example.html#x1215">aclock/main.cpp</a>, <a href="tqdialog.html#x2135">life/main.cpp</a>, <a href="popup-example.html#x1628">popup/popup.cpp</a>, <a href="tutorial1-01.html#x2286">t1/main.cpp</a>, <a href="tutorial1-03.html#x2302">t3/main.cpp</a>, <a href="tutorial1-04.html#x2309">t4/main.cpp</a>, and <a href="toplevel-example.html#x2542">toplevel/options.ui.h</a>. <p>Reimplemented in <a href="tqdialog.html#show">TQDialog</a> and <a href="tqmenubar.html#show">TQMenuBar</a>. -<h3 class=fn>void <a name="showEvent"></a>TQWidget::showEvent ( <a href="qshowevent.html">TQShowEvent</a> * )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="showEvent"></a>TQWidget::showEvent ( <a href="tqshowevent.html">TQShowEvent</a> * )<tt> [virtual protected]</tt> </h3> This event handler can be reimplemented in a subclass to receive widget show events. <p> Non-spontaneous show events are sent to widgets immediately before they are shown. The spontaneous show events of top-level widgets are delivered afterwards. -<p> <p>See also <a href="#event">event</a>() and <a href="qshowevent.html">TQShowEvent</a>. +<p> <p>See also <a href="#event">event</a>() and <a href="tqshowevent.html">TQShowEvent</a>. <p>Example: <a href="tqdir-example.html#x1854">tqdir/tqdir.cpp</a>. <h3 class=fn>void <a name="showFullScreen"></a>TQWidget::showFullScreen ()<tt> [slot]</tt> @@ -2372,9 +2372,9 @@ it, so that the widget's parent can interpret it. </h3> <p> Returns the bitwise AND of the widget flags and <em>f</em>. -<p> Widget flags are a combination of <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> Widget flags are a combination of <a href="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <p> If you want to test for the presence of multiple flags (or -composite flags such as <a href="ntqt.html#WidgetFlags-enum">WStyle_Splash</a>), test the +composite flags such as <a href="tqt.html#WidgetFlags-enum">WStyle_Splash</a>), test the return value for equality against the argument. For example: <p> <pre> int flags = WStyle_Tool | WStyle_NoBorder; @@ -2418,7 +2418,7 @@ flicker than a call to <a href="#repaint">repaint</a>() does. <p> Calling <a href="#update">update</a>() several times normally results in just one <a href="#paintEvent">paintEvent</a>() call. <p> TQt normally erases the widget's area before the paintEvent() call. -If the <a href="ntqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is +If the <a href="tqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is responsible for painting all its pixels itself. <p> <p>See also <a href="#repaint">repaint</a>(), <a href="#paintEvent">paintEvent</a>(), <a href="#updatesEnabled-prop">updatesEnabled</a>, <a href="#erase">erase</a>(), and <a href="#setWFlags">setWFlags</a>(). @@ -2437,7 +2437,7 @@ flicker and a call to <a href="#repaint">repaint</a>() does. <p> If <em>w</em> is negative, it is replaced with <tt>width() - x</tt>. If <em>h</em> is negative, it is replaced width <tt>height() - y</tt>. <p> TQt normally erases the specified area before the paintEvent() -call. If the <a href="ntqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is +call. If the <a href="tqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is responsible for painting all its pixels itself. <p> <p>See also <a href="#repaint">repaint</a>(), <a href="#paintEvent">paintEvent</a>(), <a href="#updatesEnabled-prop">updatesEnabled</a>, and <a href="#erase">erase</a>(). @@ -2520,9 +2520,9 @@ other than the highlight and link colors. </h3><p>Returns the level of opacity for the window. See the <a href="tqwidget.html#windowOpacity-prop">"windowOpacity"</a> property for details. <h3 class=fn>uint <a name="windowState"></a>TQWidget::windowState () const -</h3> Returns the current <a href="ntqt.html#WindowState">window state</a>. The window state is a OR'ed -combination of TQt::WindowState: <a href="ntqt.html#WindowState-enum">WindowMinimized</a>, <a href="ntqt.html#WindowState-enum">WindowMaximized</a>, <a href="ntqt.html#WindowState-enum">WindowFullScreen</a> and <a href="ntqt.html#WindowState-enum">WindowActive</a>. -<p> <p>See also <a href="ntqt.html#WindowState-enum">TQt::WindowState</a> and <a href="#setWindowState">setWindowState</a>(). +</h3> Returns the current <a href="tqt.html#WindowState">window state</a>. The window state is a OR'ed +combination of TQt::WindowState: <a href="tqt.html#WindowState-enum">WindowMinimized</a>, <a href="tqt.html#WindowState-enum">WindowMaximized</a>, <a href="tqt.html#WindowState-enum">WindowFullScreen</a> and <a href="tqt.html#WindowState-enum">WindowActive</a>. +<p> <p>See also <a href="tqt.html#WindowState-enum">TQt::WindowState</a> and <a href="#setWindowState">setWindowState</a>(). <h3 class=fn>int <a name="x"></a>TQWidget::x () const </h3><p>Returns the x coordinate of the widget relative to its parent including any window frame. @@ -2593,25 +2593,25 @@ background mode. <p> <p>See also <a href="#backgroundColor">backgroundColor</a>(), <a href="#backgroundPixmap">backgroundPixmap</a>(), <a href="#eraseColor">eraseColor</a>(), <a href="#palette-prop">palette</a>, and <a href="ntqapplication.html#setPalette">TQApplication::setPalette</a>(). <p>Get this property's value with <a href="#backgroundBrush">backgroundBrush</a>(). -<h3 class=fn><a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode-prop"></a>backgroundMode</h3> +<h3 class=fn><a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode-prop"></a>backgroundMode</h3> <p>This property holds the color role used for painting the background of the widget. <p>setPaletteBackgroundColor() reads this property to determine which entry of the <a href="#palette-prop">palette</a> to set. -<p> For most widgets the default suffices (<a href="ntqt.html#BackgroundMode-enum">PaletteBackground</a>, -typically gray), but some need to use <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> (the +<p> For most widgets the default suffices (<a href="tqt.html#BackgroundMode-enum">PaletteBackground</a>, +typically gray), but some need to use <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> (the background color for text output, typically white) or another role. <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> ); + <a href="#setBackgroundMode">setBackgroundMode</a>( <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> ); </pre> <p> You will never need to set the background mode of a built-in widget in TQt, but you might consider setting it in your custom widgets, so that <a href="#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() works as expected. <p> Note that two of the BackgroundMode values make no sense for -<a href="#setBackgroundMode">setBackgroundMode</a>(), namely <a href="ntqt.html#BackgroundMode-enum">FixedPixmap</a> and <a href="ntqt.html#BackgroundMode-enum">FixedColor</a>. You +<a href="#setBackgroundMode">setBackgroundMode</a>(), namely <a href="tqt.html#BackgroundMode-enum">FixedPixmap</a> and <a href="tqt.html#BackgroundMode-enum">FixedColor</a>. You must call <a href="#setBackgroundPixmap">setBackgroundPixmap</a>() and setPaletteBackgroundColor() instead. @@ -2667,11 +2667,11 @@ inactive widget has the <a href="tqpalette.html#inactive">TQPalette::inactive</a <h3 class=fn><a href="tqcursor.html">TQCursor</a> <a name="cursor-prop"></a>cursor</h3> <p>This property holds the cursor shape for this widget. <p>The mouse cursor will assume this shape when it's over this -widget. See the <a href="ntqt.html#CursorShape-enum">list of predefined cursor +widget. See the <a href="tqt.html#CursorShape-enum">list of predefined cursor objects</a> for a range of useful shapes. <p> An editor widget might use an I-beam cursor: <pre> - <a href="#setCursor">setCursor</a>( <a href="ntqt.html#CursorShape-enum">IbeamCursor</a> ); + <a href="#setCursor">setCursor</a>( <a href="tqt.html#CursorShape-enum">IbeamCursor</a> ); </pre> <p> If no cursor has been set, or after a call to <a href="#unsetCursor">unsetCursor</a>(), the @@ -2859,7 +2859,7 @@ getting any input. <p>Get this property's value with <a href="#isModal">isModal</a>(). <h3 class=fn>bool <a name="isPopup-prop"></a>isPopup</h3> <p>This property holds whether the widget is a popup widget. -<p>A popup widget is created by specifying the <a href="ntqt.html#WidgetFlags">widget flag</a> <a href="ntqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a +<p>A popup widget is created by specifying the <a href="tqt.html#WidgetFlags">widget flag</a> <a href="tqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a top-level widget. <p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a>. @@ -2875,7 +2875,7 @@ etc. If supported by the window manager, it will also have a common taskbar entry with its parent. <p> <a href="tqdialog.html">TQDialog</a> and <a href="tqmainwindow.html">TQMainWindow</a> widgets are by default top-level, even if a parent widget is specified in the constructor. This behavior is -specified by the <a href="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag. +specified by the <a href="tqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag. <p> <p>See also <a href="#topLevelWidget">topLevelWidget</a>(), <a href="#isDialog-prop">isDialog</a>, <a href="#isModal-prop">isModal</a>, <a href="#isPopup-prop">isPopup</a>, <a href="#isDesktop-prop">isDesktop</a>, and <a href="#parentWidget">parentWidget</a>(). <p>Get this property's value with <a href="#isTopLevel">isTopLevel</a>(). @@ -3007,7 +3007,7 @@ background and foreground appearance only. convenience function that creates and sets a modified <a href="tqpalette.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="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. +<a href="tqt.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. @@ -3022,7 +3022,7 @@ function is indeterminate. convenience function that creates and sets a modified <a href="tqpalette.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 pixmap used for the palette's +<a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's <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. @@ -3034,7 +3034,7 @@ widget's background mode. For example, if the background mode is <p>setPaletteForegroundColor() is a convenience function that creates and sets a modified <a href="tqpalette.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 +example, if the background mode is <a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry <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>(). |