diff options
Diffstat (limited to 'doc/html/tqwidget.html')
-rw-r--r-- | doc/html/tqwidget.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index 3623121ea..666099443 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="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="tqdesktopwidget.html">TQDesktopWidget</a>, <a href="ntqdial.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="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>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><a href="tqwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -389,7 +389,7 @@ top-level widget. Usually, top-level widgets are windows with a frame and a title bar (although it is also possible to create top-level widgets without such decoration if suitable widget flags are used). In TQt, <a href="tqmainwindow.html">TQMainWindow</a> and the various subclasses of -<a href="ntqdialog.html">TQDialog</a> are the most common top-level windows. +<a href="tqdialog.html">TQDialog</a> are the most common top-level windows. <p> A widget without a parent widget is always a top-level widget. <p> Non-top-level widgets are child widgets. These are child windows in their parent widgets. You cannot usually distinguish a child @@ -402,7 +402,7 @@ 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="ntqpushbutton.html">TQPushButton</a>, <a href="ntqlistbox.html">TQListBox</a> and +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. <p> <h3> Groups of functions: </h3> @@ -1087,7 +1087,7 @@ first link on the "page". but only the top-level widget decides where to redirect focus. By overriding this method for an object, you thus gain control of focus traversal for all child widgets. -<p> <b>Warning:</b> <a href="ntqscrollview.html">TQScrollView</a> uses it own logic for this function, which +<p> <b>Warning:</b> <a href="tqscrollview.html">TQScrollView</a> uses it own logic for this function, which does the right thing in most cases. But if you are using a TQScrollView and want complete control of the focus chain you'll need to override <a href="#focusNextPrevChild">TQScrollView::focusNextPrevChild</a>() and your @@ -1252,7 +1252,7 @@ widget hide events. hidden. <p> <p>See also <a href="#event">event</a>() and <a href="qhideevent.html">TQHideEvent</a>. -<p>Reimplemented in <a href="ntqscrollbar.html#hideEvent">TQScrollBar</a>. +<p>Reimplemented in <a href="tqscrollbar.html#hideEvent">TQScrollBar</a>. <h3 class=fn>const <a href="tqpixmap.html">TQPixmap</a> * <a name="icon"></a>TQWidget::icon () const </h3><p>Returns the widget's icon. See the <a href="tqwidget.html#icon-prop">"icon"</a> property for details. @@ -1394,7 +1394,7 @@ presses <b>Esc</b>. Otherwise the event is ignored. <p> <p>See also <a href="#keyReleaseEvent">keyReleaseEvent</a>(), <a href="qkeyevent.html#ignore">TQKeyEvent::ignore</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#event">event</a>(), and <a href="qkeyevent.html">TQKeyEvent</a>. <p>Example: <a href="picture-example.html#x127">picture/picture.cpp</a>. -<p>Reimplemented in <a href="ntqlineedit.html#keyPressEvent">TQLineEdit</a> and <a href="tqtextedit.html#keyPressEvent">TQTextEdit</a>. +<p>Reimplemented in <a href="tqlineedit.html#keyPressEvent">TQLineEdit</a> and <a href="tqtextedit.html#keyPressEvent">TQTextEdit</a>. <h3 class=fn>void <a name="keyReleaseEvent"></a>TQWidget::keyReleaseEvent ( <a href="qkeyevent.html">TQKeyEvent</a> * e )<tt> [virtual protected]</tt> </h3> This event handler, for event <em>e</em>, can be reimplemented in a @@ -1520,7 +1520,7 @@ See the <a href="tqwidget.html#minimumSize-prop">"minimumSize"</a> property for <h3 class=fn><a href="tqsize.html">TQSize</a> <a name="minimumSizeHint"></a>TQWidget::minimumSizeHint () const<tt> [virtual]</tt> </h3><p>Returns the recommended minimum size for the widget. See the <a href="tqwidget.html#minimumSizeHint-prop">"minimumSizeHint"</a> property for details. -<p>Reimplemented in <a href="ntqlineedit.html#minimumSizeHint">TQLineEdit</a>. +<p>Reimplemented in <a href="tqlineedit.html#minimumSizeHint">TQLineEdit</a>. <h3 class=fn>int <a name="minimumWidth"></a>TQWidget::minimumWidth () const </h3><p>Returns the widget's minimum width. See the <a href="tqwidget.html#minimumWidth-prop">"minimumWidth"</a> property for details. @@ -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="tqpaintdevice.html#bitBlt">bitBlt</a>(). +<p> <p>See also <a href="tqscrollview.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="tqrect.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="tqpaintdevice.html#bitBlt">bitBlt</a>(). +<p> <p>See also <a href="tqscrollview.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>. @@ -1990,9 +1990,9 @@ See the <a href="tqwidget.html#focusPolicy-prop">"focusPolicy"</a> property for </h3> Sets the widget's focus proxy to widget <em>w</em>. If <em>w</em> is 0, the function resets this widget to have no focus proxy. -<p> Some widgets, such as <a href="ntqcombobox.html">TQComboBox</a>, can "have focus", but create a +<p> Some widgets, such as <a href="tqcombobox.html">TQComboBox</a>, can "have focus", but create a child widget to actually handle the focus. TQComboBox, for example, -creates a <a href="ntqlineedit.html">TQLineEdit</a> which handles the focus. +creates a <a href="tqlineedit.html">TQLineEdit</a> which handles the focus. <p> <a href="#setFocusProxy">setFocusProxy</a>() sets the widget which will actually get focus when "this widget" gets it. If there is a focus proxy, <a href="#focusPolicy">focusPolicy</a>(), <a href="#setFocusPolicy">setFocusPolicy</a>(), <a href="#setFocus">setFocus</a>() and <a href="#hasFocus">hasFocus</a>() all operate on 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="ntqcombobox.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="ntqtabdialog.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> @@ -2033,7 +2033,7 @@ See the <a href="tqwidget.html#inputMethodEnabled-prop">"inputMethodEnabled"</a> </h3> Enables key event compression, if <em>compress</em> is TRUE, and disables it if <em>compress</em> is FALSE. -<p> Key compression is off by default (except for <a href="ntqlineedit.html">TQLineEdit</a> and +<p> Key compression is off by default (except for <a href="tqlineedit.html">TQLineEdit</a> and <a href="tqtextedit.html">TQTextEdit</a>), so widgets receive one key press event for each key press (or more, since autorepeat is usually on). If you turn it on and your program doesn't keep up with key input, TQt may try to @@ -2131,7 +2131,7 @@ See the <a href="tqwidget.html#mouseTracking-prop">"mouseTracking"</a> property <h3 class=fn>void <a name="setPalette"></a>TQWidget::setPalette ( const <a href="tqpalette.html">TQPalette</a> & )<tt> [virtual]</tt> </h3><p>Sets the widget's palette. See the <a href="tqwidget.html#palette-prop">"palette"</a> property for details. -<p>Reimplemented in <a href="ntqcombobox.html#setPalette">TQComboBox</a>, <a href="ntqscrollbar.html#setPalette">TQScrollBar</a>, and <a href="ntqslider.html#setPalette">TQSlider</a>. +<p>Reimplemented in <a href="tqcombobox.html#setPalette">TQComboBox</a>, <a href="tqscrollbar.html#setPalette">TQScrollBar</a>, and <a href="tqslider.html#setPalette">TQSlider</a>. <h3 class=fn>void <a name="setPalette-2"></a>TQWidget::setPalette ( const <a href="tqpalette.html">TQPalette</a> & p, bool ) </h3> @@ -2260,8 +2260,8 @@ instead. If you need to do some delayed initialization use <a href="#polish">polish</a>(). <p> <p>See also <a href="#showEvent">showEvent</a>(), <a href="#hide">hide</a>(), <a href="#showMinimized">showMinimized</a>(), <a href="#showMaximized">showMaximized</a>(), <a href="#showNormal">showNormal</a>(), <a href="#visible-prop">visible</a>, and <a href="#polish">polish</a>(). -<p>Examples: <a href="aclock-example.html#x1215">aclock/main.cpp</a>, <a href="ntqdialog.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="ntqdialog.html#show">TQDialog</a> and <a href="tqmenubar.html#show">TQMenuBar</a>. +<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> This event handler can be reimplemented in a subclass to receive @@ -2721,7 +2721,7 @@ explicitly disabled. <a href="#FocusPolicy-enum">TQWidget::NoFocus</a>). <p> You must enable keyboard focus for a widget if it processes keyboard events. This is normally done from the widget's -constructor. For instance, the <a href="ntqlineedit.html">TQLineEdit</a> constructor calls +constructor. For instance, the <a href="tqlineedit.html">TQLineEdit</a> constructor calls <a href="#setFocusPolicy">setFocusPolicy</a>(TQWidget::StrongFocus). <p> <p>See also <a href="#focusPolicy-prop">focusPolicy</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>. @@ -2735,7 +2735,7 @@ focus by clicking, <a href="#FocusPolicy-enum">TQWidget::StrongFocus</a> if it a all. <p> You must enable keyboard focus for a widget if it processes keyboard events. This is normally done from the widget's -constructor. For instance, the <a href="ntqlineedit.html">TQLineEdit</a> constructor calls +constructor. For instance, the <a href="tqlineedit.html">TQLineEdit</a> constructor calls <a href="#setFocusPolicy">setFocusPolicy</a>(TQWidget::StrongFocus). <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>. @@ -2846,7 +2846,7 @@ active window <em>and</em> for the popup. <p>This property holds whether the widget is a dialog widget. <p>A dialog widget is a secondary top-level widget, i.e. a top-level widget with a parent. -<p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a> and <a href="ntqdialog.html">TQDialog</a>. +<p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a> and <a href="tqdialog.html">TQDialog</a>. <p>Get this property's value with <a href="#isDialog">isDialog</a>(). <h3 class=fn>bool <a name="isModal-prop"></a>isModal</h3> @@ -2854,7 +2854,7 @@ widget with a parent. <p>This property only makes sense for top-level widgets. A modal widget prevents widgets in all other top-level widgets from getting any input. -<p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a>, <a href="#isDialog-prop">isDialog</a>, and <a href="ntqdialog.html">TQDialog</a>. +<p> <p>See also <a href="#isTopLevel-prop">isTopLevel</a>, <a href="#isDialog-prop">isDialog</a>, and <a href="tqdialog.html">TQDialog</a>. <p>Get this property's value with <a href="#isModal">isModal</a>(). <h3 class=fn>bool <a name="isPopup-prop"></a>isPopup</h3> @@ -2873,7 +2873,7 @@ top-level widget. when the parent is deleted, minimized when the parent is minimized etc. If supported by the window manager, it will also have a common taskbar entry with its parent. -<p> <a href="ntqdialog.html">TQDialog</a> and <a href="tqmainwindow.html">TQMainWindow</a> widgets are by default top-level, even if +<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. <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>(). @@ -3128,13 +3128,13 @@ widget can be freely resized, but prefers to be the size <a href="#sizeHint">sizeHint</a>() 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 -<a href="ntqlineedit.html">TQLineEdit</a>, <a href="ntqspinbox.html">TQSpinBox</a> or an editable <a href="ntqcombobox.html">TQComboBox</a>) and other +<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>). <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="ntqslider.html">TQSlider</a>, <a href="ntqscrollbar.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="ntqheader.html">TQHeader</a>) specify stretching in the respective direction only. Widgets that can provide scrollbars -(usually subclasses of <a href="ntqscrollview.html">TQScrollView</a>) tend to specify that they can +(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 sizeHint(). <p> <p>See also <a href="#sizeHint-prop">sizeHint</a>, <a href="ntqlayout.html">TQLayout</a>, <a href="tqsizepolicy.html">TQSizePolicy</a>, and <a href="#updateGeometry">updateGeometry</a>(). |