diff options
Diffstat (limited to 'doc/html/ntqtabwidget.html')
-rw-r--r-- | doc/html/ntqtabwidget.html | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/doc/html/ntqtabwidget.html b/doc/html/ntqtabwidget.html index 070fa2fc7..34ff7729a 100644 --- a/doc/html/ntqtabwidget.html +++ b/doc/html/ntqtabwidget.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQTabWidget class provides a stack of tabbed widgets. <a href="#details">More...</a> <p><tt>#include <<a href="qtabwidget-h.html">ntqtabwidget.h</a>></tt> -<p>Inherits <a href="ntqwidget.html">TQWidget</a>. +<p>Inherits <a href="tqwidget.html">TQWidget</a>. <p><a href="qtabwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -114,7 +114,7 @@ or by pressing its Alt+<em>letter</em> accelerator if it has one. constructor: <ol type=1> <li> Create a TQTabWidget. -<li> Create a <a href="ntqwidget.html">TQWidget</a> for each of the pages in the tab dialog, +<li> Create a <a href="tqwidget.html">TQWidget</a> for each of the pages in the tab dialog, insert children into it, set up geometry management for it and use <a href="#addTab">addTab</a>() (or <a href="#insertTab">insertTab</a>()) to set up a tab and keyboard accelerator for it. @@ -147,7 +147,7 @@ tab. Note that even if a tab is disabled, the page can still be visible, for example if all of the tabs happen to be disabled. <p> Although tab widgets can be a very good way to split up a complex dialog, it's also very easy to get into a mess. See <a href="ntqtabdialog.html">TQTabDialog</a> for -some design hints. An alternative is to use a <a href="ntqwidgetstack.html">TQWidgetStack</a> for +some design hints. An alternative is to use a <a href="tqwidgetstack.html">TQWidgetStack</a> for which you provide some means of navigating between pages, for example, a <a href="ntqtoolbar.html">TQToolBar</a> or a <a href="ntqlistbox.html">TQListBox</a>. <p> Most of the functionality in TQTabWidget is provided by a <a href="ntqtabbar.html">TQTabBar</a> @@ -172,12 +172,12 @@ area, organizing the individual pages). <li><tt>TQTabWidget::Triangular</tt> - triangular look (very unusual, included for completeness) </ul> <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQTabWidget"></a>TQTabWidget::TQTabWidget ( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ) +<h3 class=fn><a name="TQTabWidget"></a>TQTabWidget::TQTabWidget ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ) </h3> Constructs a tabbed widget called <em>name</em> with parent <em>parent</em>, and widget flags <em>f</em>. -<h3 class=fn>void <a name="addTab"></a>TQTabWidget::addTab ( <a href="ntqwidget.html">TQWidget</a> * child, const <a href="ntqstring.html">TQString</a> & label )<tt> [virtual]</tt> +<h3 class=fn>void <a name="addTab"></a>TQTabWidget::addTab ( <a href="tqwidget.html">TQWidget</a> * child, const <a href="ntqstring.html">TQString</a> & label )<tt> [virtual]</tt> </h3> Adds another tab and page to the tab view. <p> The new page is <em>child</em>; the tab's label is <em>label</em>. Note the @@ -190,19 +190,19 @@ and other factors. the ampersand is used as an accelerator for the tab, e.g. if the label is "Bro&wse" then Alt+W becomes an accelerator which will move the focus to this tab. -<p> If you call <a href="#addTab">addTab</a>() after <a href="ntqwidget.html#show">show</a>() the screen will flicker and the +<p> If you call <a href="#addTab">addTab</a>() after <a href="tqwidget.html#show">show</a>() the screen will flicker and the user may be confused. <p> Adding the same child twice will have undefined behavior. <p> <p>See also <a href="#insertTab">insertTab</a>(). <p>Examples: <a href="addressbook-example.html#x600">addressbook/centralwidget.cpp</a> and <a href="themes-example.html#x343">themes/themes.cpp</a>. -<h3 class=fn>void <a name="addTab-2"></a>TQTabWidget::addTab ( <a href="ntqwidget.html">TQWidget</a> * child, const <a href="ntqiconset.html">TQIconSet</a> & iconset, const <a href="ntqstring.html">TQString</a> & label )<tt> [virtual]</tt> +<h3 class=fn>void <a name="addTab-2"></a>TQTabWidget::addTab ( <a href="tqwidget.html">TQWidget</a> * child, const <a href="ntqiconset.html">TQIconSet</a> & iconset, const <a href="ntqstring.html">TQString</a> & label )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Adds another tab and page to the tab view. <p> This function is the same as <a href="#addTab">addTab</a>(), but with an additional <em>iconset</em>. -<h3 class=fn>void <a name="addTab-3"></a>TQTabWidget::addTab ( <a href="ntqwidget.html">TQWidget</a> * child, <a href="qtab.html">TQTab</a> * tab )<tt> [virtual]</tt> +<h3 class=fn>void <a name="addTab-3"></a>TQTabWidget::addTab ( <a href="tqwidget.html">TQWidget</a> * child, <a href="qtab.html">TQTab</a> * tab )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This is a low-level function for adding tabs. It is useful if you @@ -210,30 +210,30 @@ are using <a href="#setTabBar">setTabBar</a>() to set a <a href="ntqtabbar.html" <a href="ntqtabbar.html#paint">TQTabBar::paint</a>() function for a subclass of <a href="qtab.html">TQTab</a>. The <em>child</em> is the new page and <em>tab</em> is the tab to put the <em>child</em> on. -<h3 class=fn>void <a name="changeTab"></a>TQTabWidget::changeTab ( <a href="ntqwidget.html">TQWidget</a> * w, const <a href="ntqstring.html">TQString</a> & label ) +<h3 class=fn>void <a name="changeTab"></a>TQTabWidget::changeTab ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqstring.html">TQString</a> & label ) </h3> Defines a new <em>label</em> for page <em>w</em>'s tab. -<h3 class=fn>void <a name="changeTab-2"></a>TQTabWidget::changeTab ( <a href="ntqwidget.html">TQWidget</a> * w, const <a href="ntqiconset.html">TQIconSet</a> & iconset, const <a href="ntqstring.html">TQString</a> & label ) +<h3 class=fn>void <a name="changeTab-2"></a>TQTabWidget::changeTab ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqiconset.html">TQIconSet</a> & iconset, const <a href="ntqstring.html">TQString</a> & label ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Defines a new <em>iconset</em> and a new <em>label</em> for page <em>w</em>'s tab. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="cornerWidget"></a>TQTabWidget::cornerWidget ( <a href="ntqt.html#Corner-enum">TQt::Corner</a> corner = TQt::TopRight ) const +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="cornerWidget"></a>TQTabWidget::cornerWidget ( <a href="ntqt.html#Corner-enum">TQt::Corner</a> corner = TQt::TopRight ) const </h3> Returns the widget shown in the <em>corner</em> of the tab widget or 0. <h3 class=fn>int <a name="count"></a>TQTabWidget::count () const </h3><p>Returns the number of tabs in the tab bar. See the <a href="ntqtabwidget.html#count-prop">"count"</a> property for details. -<h3 class=fn>void <a name="currentChanged"></a>TQTabWidget::currentChanged ( <a href="ntqwidget.html">TQWidget</a> * )<tt> [signal]</tt> +<h3 class=fn>void <a name="currentChanged"></a>TQTabWidget::currentChanged ( <a href="tqwidget.html">TQWidget</a> * )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the current page changes. The parameter is the new current page. <p> <p>See also <a href="#currentPage">currentPage</a>(), <a href="#showPage">showPage</a>(), and <a href="#tabLabel">tabLabel</a>(). -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="currentPage"></a>TQTabWidget::currentPage () const +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="currentPage"></a>TQTabWidget::currentPage () const </h3> Returns a pointer to the page currently being displayed by the tab dialog. The tab dialog does its best to make sure that this value @@ -242,12 +242,12 @@ is never 0 (but if you try hard enough, it can be). <h3 class=fn>int <a name="currentPageIndex"></a>TQTabWidget::currentPageIndex () const </h3><p>Returns the index position of the current tab page. See the <a href="ntqtabwidget.html#currentPage-prop">"currentPage"</a> property for details. -<h3 class=fn>int <a name="indexOf"></a>TQTabWidget::indexOf ( <a href="ntqwidget.html">TQWidget</a> * w ) const +<h3 class=fn>int <a name="indexOf"></a>TQTabWidget::indexOf ( <a href="tqwidget.html">TQWidget</a> * w ) const </h3> Returns the index position of page <em>w</em>, or -1 if the widget cannot be found. -<h3 class=fn>void <a name="insertTab"></a>TQTabWidget::insertTab ( <a href="ntqwidget.html">TQWidget</a> * child, const <a href="ntqstring.html">TQString</a> & label, int index = -1 )<tt> [virtual]</tt> +<h3 class=fn>void <a name="insertTab"></a>TQTabWidget::insertTab ( <a href="tqwidget.html">TQWidget</a> * child, const <a href="ntqstring.html">TQString</a> & label, int index = -1 )<tt> [virtual]</tt> </h3> Inserts another tab and page to the tab view. <p> The new page is <em>child</em>; the tab's label is <em>label</em>. Note the @@ -262,18 +262,18 @@ label is "Bro&wse" then Alt+W becomes an accelerator which will move the focus to this tab. <p> If <em>index</em> is not specified, the tab is simply appended. Otherwise it is inserted at the specified position. -<p> If you call <a href="#insertTab">insertTab</a>() after <a href="ntqwidget.html#show">show</a>(), the screen will flicker and +<p> If you call <a href="#insertTab">insertTab</a>() after <a href="tqwidget.html#show">show</a>(), the screen will flicker and the user may be confused. <p> <p>See also <a href="#addTab">addTab</a>(). -<h3 class=fn>void <a name="insertTab-2"></a>TQTabWidget::insertTab ( <a href="ntqwidget.html">TQWidget</a> * child, const <a href="ntqiconset.html">TQIconSet</a> & iconset, const <a href="ntqstring.html">TQString</a> & label, int index = -1 )<tt> [virtual]</tt> +<h3 class=fn>void <a name="insertTab-2"></a>TQTabWidget::insertTab ( <a href="tqwidget.html">TQWidget</a> * child, const <a href="ntqiconset.html">TQIconSet</a> & iconset, const <a href="ntqstring.html">TQString</a> & label, int index = -1 )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts another tab and page to the tab view. <p> This function is the same as <a href="#insertTab">insertTab</a>(), but with an additional <em>iconset</em>. -<h3 class=fn>void <a name="insertTab-3"></a>TQTabWidget::insertTab ( <a href="ntqwidget.html">TQWidget</a> * child, <a href="qtab.html">TQTab</a> * tab, int index = -1 )<tt> [virtual]</tt> +<h3 class=fn>void <a name="insertTab-3"></a>TQTabWidget::insertTab ( <a href="tqwidget.html">TQWidget</a> * child, <a href="qtab.html">TQTab</a> * tab, int index = -1 )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This is a lower-level method for inserting tabs, similar to the @@ -282,10 +282,10 @@ other <a href="#insertTab">insertTab</a>() method. It is useful if you are using <a href="ntqtabbar.html#paint">TQTabBar::paint</a>() function for a subclass of <a href="qtab.html">TQTab</a>. The <em>child</em> is the new page, <em>tab</em> is the tab to put the <em>child</em> on and <em>index</em> is the position in the tab bar that this page should occupy. -<h3 class=fn>bool <a name="isTabEnabled"></a>TQTabWidget::isTabEnabled ( <a href="ntqwidget.html">TQWidget</a> * w ) const +<h3 class=fn>bool <a name="isTabEnabled"></a>TQTabWidget::isTabEnabled ( <a href="tqwidget.html">TQWidget</a> * w ) const </h3> Returns TRUE if the page <em>w</em> is enabled; otherwise returns FALSE. -<p> <p>See also <a href="#setTabEnabled">setTabEnabled</a>() and <a href="ntqwidget.html#enabled-prop">TQWidget::enabled</a>. +<p> <p>See also <a href="#setTabEnabled">setTabEnabled</a>() and <a href="tqwidget.html#enabled-prop">TQWidget::enabled</a>. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="label"></a>TQTabWidget::label ( int index ) const </h3> @@ -295,22 +295,22 @@ Returns the label of the tab at index position <em>index</em> or <h3 class=fn>int <a name="margin"></a>TQTabWidget::margin () const </h3><p>Returns the margin in this tab widget. See the <a href="ntqtabwidget.html#margin-prop">"margin"</a> property for details. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="page"></a>TQTabWidget::page ( int index ) const +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="page"></a>TQTabWidget::page ( int index ) const </h3> Returns the tab page at index position <em>index</em> or 0 if the <em>index</em> is out of range. -<h3 class=fn>void <a name="removePage"></a>TQTabWidget::removePage ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [virtual slot]</tt> +<h3 class=fn>void <a name="removePage"></a>TQTabWidget::removePage ( <a href="tqwidget.html">TQWidget</a> * w )<tt> [virtual slot]</tt> </h3> Removes page <em>w</em> from this stack of widgets. Does not delete <em>w</em>. -<p> <p>See also <a href="#addTab">addTab</a>(), <a href="#showPage">showPage</a>(), and <a href="ntqwidgetstack.html#removeWidget">TQWidgetStack::removeWidget</a>(). +<p> <p>See also <a href="#addTab">addTab</a>(), <a href="#showPage">showPage</a>(), and <a href="tqwidgetstack.html#removeWidget">TQWidgetStack::removeWidget</a>(). -<h3 class=fn>void <a name="removeTabToolTip"></a>TQTabWidget::removeTabToolTip ( <a href="ntqwidget.html">TQWidget</a> * w ) +<h3 class=fn>void <a name="removeTabToolTip"></a>TQTabWidget::removeTabToolTip ( <a href="tqwidget.html">TQWidget</a> * w ) </h3> Removes the tab tool tip for page <em>w</em>. If the page does not have a tip, nothing happens. <p> <p>See also <a href="#setTabToolTip">setTabToolTip</a>() and <a href="#tabToolTip">tabToolTip</a>(). -<h3 class=fn>void <a name="setCornerWidget"></a>TQTabWidget::setCornerWidget ( <a href="ntqwidget.html">TQWidget</a> * w, <a href="ntqt.html#Corner-enum">TQt::Corner</a> corner = TQt::TopRight ) +<h3 class=fn>void <a name="setCornerWidget"></a>TQTabWidget::setCornerWidget ( <a href="tqwidget.html">TQWidget</a> * w, <a href="ntqt.html#Corner-enum">TQt::Corner</a> corner = TQt::TopRight ) </h3> Sets widget <em>w</em> to be the shown in the specified <em>corner</em> of the tab widget. @@ -330,22 +330,22 @@ that this must be called <em>before</em> any tabs have been added, or the behavior is undefined. <p> <p>See also <a href="#tabBar">tabBar</a>(). -<h3 class=fn>void <a name="setTabEnabled"></a>TQTabWidget::setTabEnabled ( <a href="ntqwidget.html">TQWidget</a> * w, bool enable ) +<h3 class=fn>void <a name="setTabEnabled"></a>TQTabWidget::setTabEnabled ( <a href="tqwidget.html">TQWidget</a> * w, bool enable ) </h3> If <em>enable</em> is TRUE, page <em>w</em> is enabled; otherwise page <em>w</em> is disabled. The page's tab is redrawn appropriately. -<p> TQTabWidget uses <a href="ntqwidget.html#setEnabled">TQWidget::setEnabled</a>() internally, rather than +<p> TQTabWidget uses <a href="tqwidget.html#setEnabled">TQWidget::setEnabled</a>() internally, rather than keeping a separate flag. <p> Note that even a disabled tab/page may be visible. If the page is visible already, TQTabWidget will not hide it; if all the pages are disabled, TQTabWidget will show one of them. -<p> <p>See also <a href="#isTabEnabled">isTabEnabled</a>() and <a href="ntqwidget.html#enabled-prop">TQWidget::enabled</a>. +<p> <p>See also <a href="#isTabEnabled">isTabEnabled</a>() and <a href="tqwidget.html#enabled-prop">TQWidget::enabled</a>. -<h3 class=fn>void <a name="setTabIconSet"></a>TQTabWidget::setTabIconSet ( <a href="ntqwidget.html">TQWidget</a> * w, const <a href="ntqiconset.html">TQIconSet</a> & iconset ) +<h3 class=fn>void <a name="setTabIconSet"></a>TQTabWidget::setTabIconSet ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqiconset.html">TQIconSet</a> & iconset ) </h3> Sets the iconset for page <em>w</em> to <em>iconset</em>. -<h3 class=fn>void <a name="setTabLabel"></a>TQTabWidget::setTabLabel ( <a href="ntqwidget.html">TQWidget</a> * w, const <a href="ntqstring.html">TQString</a> & l ) +<h3 class=fn>void <a name="setTabLabel"></a>TQTabWidget::setTabLabel ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqstring.html">TQString</a> & l ) </h3> Sets the tab label for page <em>w</em> to <em>l</em> @@ -355,12 +355,12 @@ See the <a href="ntqtabwidget.html#tabPosition-prop">"tabPosition"</a> property <h3 class=fn>void <a name="setTabShape"></a>TQTabWidget::setTabShape ( <a href="ntqtabwidget.html#TabShape-enum">TabShape</a> s ) </h3><p>Sets the shape of the tabs in this tab widget to <em>s</em>. See the <a href="ntqtabwidget.html#tabShape-prop">"tabShape"</a> property for details. -<h3 class=fn>void <a name="setTabToolTip"></a>TQTabWidget::setTabToolTip ( <a href="ntqwidget.html">TQWidget</a> * w, const <a href="ntqstring.html">TQString</a> & tip ) +<h3 class=fn>void <a name="setTabToolTip"></a>TQTabWidget::setTabToolTip ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqstring.html">TQString</a> & tip ) </h3> Sets the tab tool tip for page <em>w</em> to <em>tip</em>. <p> <p>See also <a href="#removeTabToolTip">removeTabToolTip</a>() and <a href="#tabToolTip">tabToolTip</a>(). -<h3 class=fn>void <a name="showPage"></a>TQTabWidget::showPage ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [virtual slot]</tt> +<h3 class=fn>void <a name="showPage"></a>TQTabWidget::showPage ( <a href="tqwidget.html">TQWidget</a> * w )<tt> [virtual slot]</tt> </h3> Ensures that page <em>w</em> is shown. This is useful mainly for accelerators. @@ -373,12 +373,12 @@ confuse the user. Returns the current <a href="ntqtabbar.html">TQTabBar</a>. <p> <p>See also <a href="#setTabBar">setTabBar</a>(). -<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="tabIconSet"></a>TQTabWidget::tabIconSet ( <a href="ntqwidget.html">TQWidget</a> * w ) const +<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> <a name="tabIconSet"></a>TQTabWidget::tabIconSet ( <a href="tqwidget.html">TQWidget</a> * w ) const </h3> Returns the iconset of page <em>w</em> or a <a href="ntqiconset.html#TQIconSet">null iconset</a> if <em>w</em> is not a tab page or does not have an iconset. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="tabLabel"></a>TQTabWidget::tabLabel ( <a href="ntqwidget.html">TQWidget</a> * w ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="tabLabel"></a>TQTabWidget::tabLabel ( <a href="tqwidget.html">TQWidget</a> * w ) const </h3> Returns the label text for the tab on page <em>w</em>. @@ -388,7 +388,7 @@ See the <a href="ntqtabwidget.html#tabPosition-prop">"tabPosition"</a> property <h3 class=fn><a href="ntqtabwidget.html#TabShape-enum">TabShape</a> <a name="tabShape"></a>TQTabWidget::tabShape () const </h3><p>Returns the shape of the tabs in this tab widget. See the <a href="ntqtabwidget.html#tabShape-prop">"tabShape"</a> property for details. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="tabToolTip"></a>TQTabWidget::tabToolTip ( <a href="ntqwidget.html">TQWidget</a> * w ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="tabToolTip"></a>TQTabWidget::tabToolTip ( <a href="tqwidget.html">TQWidget</a> * w ) const </h3> Returns the tab tool tip for page <em>w</em> or <a href="ntqstring.html#TQString-null">TQString::null</a> if no tool tip has been set. @@ -397,7 +397,7 @@ tip has been set. <hr><h2>Property Documentation</h2> <h3 class=fn>bool <a name="autoMask-prop"></a>autoMask</h3> <p>This property holds whether the tab widget is automatically masked. -<p><p><p>See also <a href="ntqwidget.html#autoMask-prop">TQWidget::autoMask</a>. +<p><p><p>See also <a href="tqwidget.html#autoMask-prop">TQWidget::autoMask</a>. <h3 class=fn>int <a name="count-prop"></a>count</h3> <p>This property holds the number of tabs in the tab bar. |