diff options
Diffstat (limited to 'doc/html/tqwidget.html')
-rw-r--r-- | doc/html/tqwidget.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index efebd7515..0fe84bb54 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -807,7 +807,7 @@ Takes keyboard input focus from the widget. to lose the focus. <p> This widget must enable focus setting in order to get the keyboard input focus, i.e. it must call <a href="#setFocusPolicy">setFocusPolicy</a>(). -<p> <p>See also <a href="#focus-prop">focus</a>, <a href="#setFocus">setFocus</a>(), <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, and <a href="ntqapplication.html#focusWidget">TQApplication::focusWidget</a>(). +<p> <p>See also <a href="#focus-prop">focus</a>, <a href="#setFocus">setFocus</a>(), <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, and <a href="tqapplication.html#focusWidget">TQApplication::focusWidget</a>(). <h3 class=fn>void <a name="clearMask"></a>TQWidget::clearMask () </h3> @@ -836,7 +836,7 @@ general you do not need to call it. otherwise returns FALSE. <p> First it sends the widget a <a href="tqcloseevent.html">TQCloseEvent</a>. The widget is <a href="#hide">hidden</a> if it <a href="tqcloseevent.html#accept">accepts</a> the close event. The default implementation of <a href="#closeEvent">TQWidget::closeEvent</a>() accepts the close event. -<p> The <a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted when the +<p> The <a href="tqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted when the last visible top level widget is closed. <p> <p>Examples: <a href="mdi-example.html#x2076">mdi/application.cpp</a>, <a href="popup-example.html#x1616">popup/popup.cpp</a>, and <a href="toplevel-example.html#x2535">toplevel/options.ui.h</a>. @@ -849,11 +849,11 @@ otherwise returns FALSE. 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. -<p> The <a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted when the +<p> The <a href="tqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted when the last visible top level widget is closed. -<p> Note that closing the <a href="ntqapplication.html#mainWidget">TQApplication::mainWidget</a>() terminates the +<p> Note that closing the <a href="tqapplication.html#mainWidget">TQApplication::mainWidget</a>() terminates the application. -<p> <p>See also <a href="#closeEvent">closeEvent</a>(), <a href="tqcloseevent.html">TQCloseEvent</a>, <a href="#hide">hide</a>(), <a href="ntqapplication.html#quit">TQApplication::quit</a>(), <a href="ntqapplication.html#setMainWidget">TQApplication::setMainWidget</a>(), and <a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>(). +<p> <p>See also <a href="#closeEvent">closeEvent</a>(), <a href="tqcloseevent.html">TQCloseEvent</a>, <a href="#hide">hide</a>(), <a href="tqapplication.html#quit">TQApplication::quit</a>(), <a href="tqapplication.html#setMainWidget">TQApplication::setMainWidget</a>(), and <a href="tqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>(). <h3 class=fn>void <a name="closeEvent"></a>TQWidget::closeEvent ( <a href="tqcloseevent.html">TQCloseEvent</a> * e )<tt> [virtual protected]</tt> </h3> @@ -1119,7 +1119,7 @@ Returns the focus proxy, or 0 if there is no focus proxy. <h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="focusWidget"></a>TQWidget::focusWidget () const </h3> 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 +same as <a href="tqapplication.html#focusWidget">TQApplication::focusWidget</a>(), which returns the focus widget in the currently active window. <h3 class=fn><a href="tqfont.html">TQFont</a> <a name="font"></a>TQWidget::font () const @@ -1447,7 +1447,7 @@ event being handled by TQt, return TRUE. If you return FALSE, this native event is passed back to TQt, which translates the event into a TQt event and sends it to the widget. <p> <b>Warning:</b> This function is not portable. -<p> <p>See also <a href="ntqapplication.html#macEventFilter">TQApplication::macEventFilter</a>(). +<p> <p>See also <a href="tqapplication.html#macEventFilter">TQApplication::macEventFilter</a>(). <h3 class=fn><a href="tqpoint.html">TQPoint</a> <a name="mapFrom"></a>TQWidget::mapFrom ( <a href="tqwidget.html">TQWidget</a> * parent, const <a href="tqpoint.html">TQPoint</a> & pos ) const </h3> @@ -1675,10 +1675,10 @@ having an instantiated widget. This is something a constructor cannot guarantee since the initialization of the subclasses might not be finished. <p> After this function, the widget has a proper font and palette and -<a href="ntqapplication.html#polish">TQApplication::polish</a>() has been called. +<a href="tqapplication.html#polish">TQApplication::polish</a>() has been called. <p> Remember to call TQWidget's implementation first when reimplementing this function to ensure that your program does not end up in infinite recursion. -<p> <p>See also <a href="#constPolish">constPolish</a>() and <a href="ntqapplication.html#polish">TQApplication::polish</a>(). +<p> <p>See also <a href="#constPolish">constPolish</a>() and <a href="tqapplication.html#polish">TQApplication::polish</a>(). <p>Example: <a href="menu-example.html#x1883">menu/menu.cpp</a>. <h3 class=fn><a href="tqpoint.html">TQPoint</a> <a name="pos"></a>TQWidget::pos () const @@ -1832,7 +1832,7 @@ that is read but not written. For example, when scrolling 10 pixels rightwards, the leftmost ten pixels of the widget need 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>() +processing of paint events using <a href="tqapplication.html#sendPostedEvents">TQApplication::sendPostedEvents</a>() when using scroll() and <a href="#move">move</a>() in combination). <p> <p>See also <a href="tqscrollview.html">TQScrollView</a>, <a href="#erase">erase</a>(), and <a href="tqpaintdevice.html#bitBlt">bitBlt</a>(). @@ -1978,7 +1978,7 @@ but does not clear any keyboard grab (see <a href="#grabKeyboard">grabKeyboard</ <p> <b>Warning:</b> If you call setFocus() in a function which may itself be called from <a href="#focusOutEvent">focusOutEvent</a>() or <a href="#focusInEvent">focusInEvent</a>(), you may get an infinite recursion. -<p> <p>See also <a href="#focus-prop">focus</a>, <a href="#clearFocus">clearFocus</a>(), <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, <a href="ntqapplication.html#focusWidget">TQApplication::focusWidget</a>(), <a href="#grabKeyboard">grabKeyboard</a>(), and <a href="#grabMouse">grabMouse</a>(). +<p> <p>See also <a href="#focus-prop">focus</a>, <a href="#clearFocus">clearFocus</a>(), <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, <a href="tqapplication.html#focusWidget">TQApplication::focusWidget</a>(), <a href="#grabKeyboard">grabKeyboard</a>(), and <a href="#grabMouse">grabMouse</a>(). <p>Examples: <a href="addressbook-example.html#x606">addressbook/centralwidget.cpp</a>, <a href="lineedits-example.html#x181">lineedits/lineedits.cpp</a>, <a href="mdi-example.html#x2084">mdi/application.cpp</a>, <a href="popup-example.html#x1625">popup/popup.cpp</a>, <a href="rot-example.html#x1378">rot13/rot13.cpp</a>, <a href="tutorial1-08.html#x2339">t8/main.cpp</a>, and <a href="wizard-example.html#x11">wizard/wizard.cpp</a>. <h3 class=fn>void <a name="setFocusPolicy"></a>TQWidget::setFocusPolicy ( <a href="tqwidget.html#FocusPolicy-enum">FocusPolicy</a> )<tt> [virtual]</tt> @@ -2172,14 +2172,14 @@ This is an overloaded member function, provided for convenience. It behaves esse Sets the widget's GUI style to <em>style</em>. Ownership of the style object is not transferred. <p> If no style is set, the widget uses the application's style, -<a href="ntqapplication.html#style">TQApplication::style</a>() instead. +<a href="tqapplication.html#style">TQApplication::style</a>() instead. <p> Setting a widget's style has no effect on existing or future child widgets. <p> <b>Warning:</b> This function is particularly useful for demonstration purposes, where you want to show TQt's styling capabilities. Real applications should avoid it and use one consistent GUI style instead. -<p> <p>See also <a href="#style">style</a>(), <a href="tqstyle.html">TQStyle</a>, <a href="ntqapplication.html#style">TQApplication::style</a>(), and <a href="ntqapplication.html#setStyle">TQApplication::setStyle</a>(). +<p> <p>See also <a href="#style">style</a>(), <a href="tqstyle.html">TQStyle</a>, <a href="tqapplication.html#style">TQApplication::style</a>(), and <a href="tqapplication.html#setStyle">TQApplication::setStyle</a>(). <p>Examples: <a href="progressbar-example.html#x975">progressbar/progressbar.cpp</a>. <h3 class=fn><a href="tqstyle.html">TQStyle</a> * <a name="setStyle-2"></a>TQWidget::setStyle ( const <a href="tqstring.html">TQString</a> & style ) @@ -2342,7 +2342,7 @@ Places the widget under <em>w</em> in the parent widget's stack. <h3 class=fn><a href="tqstyle.html">TQStyle</a> & <a name="style"></a>TQWidget::style () const </h3> Returns the GUI style for this widget -<p> <p>See also <a href="#setStyle">TQWidget::setStyle</a>(), <a href="ntqapplication.html#setStyle">TQApplication::setStyle</a>(), and <a href="ntqapplication.html#style">TQApplication::style</a>(). +<p> <p>See also <a href="#setStyle">TQWidget::setStyle</a>(), <a href="tqapplication.html#setStyle">TQApplication::setStyle</a>(), and <a href="tqapplication.html#style">TQApplication::style</a>(). <h3 class=fn>void <a name="styleChange"></a>TQWidget::styleChange ( <a href="tqstyle.html">TQStyle</a> & oldStyle )<tt> [virtual protected]</tt> </h3> @@ -2354,7 +2354,7 @@ GUI style changes. You will almost certainly need to update the widget using <a href="#update">update</a>(). <p> The default implementation updates the widget including its 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>(). +<p> <p>See also <a href="tqapplication.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="tqtabletevent.html">TQTabletEvent</a> * e )<tt> [virtual protected]</tt> </h3> @@ -2491,7 +2491,7 @@ event being handled by TQt, return TRUE. If you return FALSE, this native event is passed back to TQt, which translates the event into a TQt event and sends it to the widget. <p> <b>Warning:</b> This function is not portable. -<p> <p>See also <a href="ntqapplication.html#winEventFilter">TQApplication::winEventFilter</a>(). +<p> <p>See also <a href="tqapplication.html#winEventFilter">TQApplication::winEventFilter</a>(). <h3 class=fn>WId <a name="winId"></a>TQWidget::winId () const </h3> @@ -2534,7 +2534,7 @@ event being handled by TQt, return TRUE. If you return FALSE, this native event is passed back to TQt, which translates the event into a TQt event and sends it to the widget. <p> <b>Warning:</b> This function is not portable. -<p> <p>See also <a href="ntqapplication.html#x11EventFilter">TQApplication::x11EventFilter</a>(). +<p> <p>See also <a href="tqapplication.html#x11EventFilter">TQApplication::x11EventFilter</a>(). <h3 class=fn>int <a name="y"></a>TQWidget::y () const </h3><p>Returns the y coordinate of the widget relative to its parent and including any window frame. @@ -2587,7 +2587,7 @@ together seamlessly, you will probably want to use <p>This property holds the widget's background brush. <p>The background brush depends on a widget's palette and its 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> <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="tqapplication.html#setPalette">TQApplication::setPalette</a>(). <p>Get this property's value with <a href="#backgroundBrush">backgroundBrush</a>(). <h3 class=fn><a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode-prop"></a>backgroundMode</h3> @@ -2674,7 +2674,7 @@ widget. See the <a href="tqt.html#CursorShape-enum">list of predefined cursor <p> If no cursor has been set, or after a call to <a href="#unsetCursor">unsetCursor</a>(), the parent's cursor is used. The function unsetCursor() has no effect on top-level widgets. -<p> <p>See also <a href="ntqapplication.html#setOverrideCursor">TQApplication::setOverrideCursor</a>(). +<p> <p>See also <a href="tqapplication.html#setOverrideCursor">TQApplication::setOverrideCursor</a>(). <p>Set this property's value with <a href="#setCursor">setCursor</a>(), get this property's value with <a href="#cursor">cursor</a>(), and reset this property's value with <a href="#unsetCursor">unsetCursor</a>(). <h3 class=fn>bool <a name="customWhatsThis-prop"></a>customWhatsThis</h3> @@ -2709,7 +2709,7 @@ explicitly disabled. <h3 class=fn>bool <a name="focus-prop"></a>focus</h3> <p>This property holds whether this widget (or its focus proxy) has the keyboard input focus. <p>Effectively equivalent to <tt>tqApp->focusWidget() == this</tt>. -<p> <p>See also <a href="#setFocus">setFocus</a>(), <a href="#clearFocus">clearFocus</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, and <a href="ntqapplication.html#focusWidget">TQApplication::focusWidget</a>(). +<p> <p>See also <a href="#setFocus">setFocus</a>(), <a href="#clearFocus">clearFocus</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, and <a href="tqapplication.html#focusWidget">TQApplication::focusWidget</a>(). <p>Get this property's value with <a href="#hasFocus">hasFocus</a>(). <h3 class=fn>bool <a name="focusEnabled-prop"></a>focusEnabled</h3> @@ -2830,13 +2830,13 @@ the input method disabled if they have focus. This is the default. that has <a href="focus.html#keyboard-focus">keyboard focus</a>. <p> When popup windows are visible, this property is TRUE for both the active window <em>and</em> for the popup. -<p> <p>See also <a href="#setActiveWindow">setActiveWindow</a>() and <a href="ntqapplication.html#activeWindow">TQApplication::activeWindow</a>(). +<p> <p>See also <a href="#setActiveWindow">setActiveWindow</a>() and <a href="tqapplication.html#activeWindow">TQApplication::activeWindow</a>(). <p>Get this property's value with <a href="#isActiveWindow">isActiveWindow</a>(). <h3 class=fn>bool <a name="isDesktop-prop"></a>isDesktop</h3> <p>This property holds whether the widget is a desktop widget, i.e. represents the desktop. <p>A desktop widget is also a top-level widget. -<p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a> and <a href="ntqapplication.html#desktop">TQApplication::desktop</a>(). +<p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a> and <a href="tqapplication.html#desktop">TQApplication::desktop</a>(). <p>Get this property's value with <a href="#isDesktop">isDesktop</a>(). <h3 class=fn>bool <a name="isDialog-prop"></a>isDialog</h3> @@ -2960,7 +2960,7 @@ receives mouse move events when at least one mouse button is pressed while the mouse is being moved. <p> If mouse tracking is enabled, the widget receives mouse move events even if no buttons are pressed. -<p> <p>See also <a href="#mouseMoveEvent">mouseMoveEvent</a>() and <a href="ntqapplication.html#setGlobalMouseTracking">TQApplication::setGlobalMouseTracking</a>(). +<p> <p>See also <a href="#mouseMoveEvent">mouseMoveEvent</a>() and <a href="tqapplication.html#setGlobalMouseTracking">TQApplication::setGlobalMouseTracking</a>(). <p>Set this property's value with <a href="#setMouseTracking">setMouseTracking</a>() and get this property's value with <a href="#hasMouseTracking">hasMouseTracking</a>(). <h3 class=fn>bool <a name="ownCursor-prop"></a>ownCursor</h3> @@ -2993,7 +2993,7 @@ widget), the default application palette. <a href="#paletteForegroundColor-prop">paletteForegroundColor</a> convenience properties to change a widget's 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> <p>See also <a href="#ownPalette-prop">ownPalette</a>, <a href="#colorGroup-prop">colorGroup</a>, and <a href="tqapplication.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="tqcolor.html">TQColor</a> <a name="paletteBackgroundColor-prop"></a>paletteBackgroundColor</h3> @@ -3033,7 +3033,7 @@ and sets a modified <a href="tqpalette.html">TQPalette</a> with <a href="#setPal modified according to the widget's <em>background mode</em>. For 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>(). +<p> <p>See also <a href="#palette-prop">palette</a>, <a href="tqapplication.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>(). <h3 class=fn><a href="tqpoint.html">TQPoint</a> <a name="pos-prop"></a>pos</h3> |