<HTML> <HEAD> <TITLE>class KDockTabCtl</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KDockTabCtl</h1> </TD> <TD valign="top" align="right" colspan="1"> A manager for a single <A HREF="KDockTabBar.html">KDockTabBar</A> (and member of the dockwidget class set). <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kdocktabctl_h.html">kdocktabctl.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> <small>(qt)</small> <small>[public ]</small></TD></TR> <TR><TH>Inherited by</TH><TD><A HREF="KDockTabGroup.html">KDockTabGroup</A></TD></TR> <TR><TH><A HREF="full-list-KDockTabCtl.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KDockTabCtl</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent = 0, const char *name = 0 ) </LI> <LI> <b><A HREF="#ref2">~KDockTabCtl</A></b> () </LI> <LI>virtual void <b><A HREF="#ref3">setTabPos</A></b> ( <A HREF="KDockTabBar.html#TabPos">KDockTabBar::TabPos</A> ) </LI> <LI><A HREF="KDockTabBar.html#TabPos">KDockTabBar::TabPos</A> <b><A HREF="#ref4">getTabPos</A></b> () </LI> <LI>int <b><A HREF="#ref5">insertPage</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &label, int id = -1, int index = -1 ) </LI> <LI>void <b><A HREF="#ref6">setPageCaption</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &s ) </LI> <LI>void <b><A HREF="#ref7">setPageCaption</A></b> ( int id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &caption ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <b><A HREF="#ref8">pageCaption</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <b><A HREF="#ref9">pageCaption</A></b> ( int id ) </LI> <LI>void <b><A HREF="#ref10">captionAutoSet</A></b> ( bool autoSet ) </LI> <LI>bool <b><A HREF="#ref11">isCaptionAutoSet</A></b> () </LI> <LI>void <b><A HREF="#ref12">setPixmap</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pix ) </LI> <LI>void <b><A HREF="#ref13">setPixmap</A></b> ( int id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pix ) </LI> <LI>void <b><A HREF="#ref14">setToolTip</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &toolTipStr ) </LI> <LI>void <b><A HREF="#ref15">setTabTextColor</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>*, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A> &color ) </LI> <LI>void <b><A HREF="#ref16">setTabTextColor</A></b> ( int id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A> &color ) </LI> <LI>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& <b><A HREF="#ref17">tabTextColor</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) </LI> <LI>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& <b><A HREF="#ref18">tabTextColor</A></b> ( int id ) </LI> <LI>bool <b><A HREF="#ref19">isPageEnabled</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) </LI> <LI>bool <b><A HREF="#ref20">isPageEnabled</A></b> ( int id ) </LI> <LI>void <b><A HREF="#ref21">setPageEnabled</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, bool e) </LI> <LI>void <b><A HREF="#ref22">setPageEnabled</A></b> ( int id, bool enabled ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <b><A HREF="#ref23">page</A></b> ( int id) </LI> <LI>int <b><A HREF="#ref24">id</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) </LI> <LI>int <b><A HREF="#ref25">index</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) </LI> <LI>void <b><A HREF="#ref26">removePage</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) </LI> <LI>void <b><A HREF="#ref27">removePage</A></b> ( int id ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <b><A HREF="#ref28">visiblePage</A></b> () </LI> <LI>int <b><A HREF="#ref29">visiblePageId</A></b> () </LI> <LI>void <b><A HREF="#ref30">setVisiblePage</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>*, bool allowDisable = false ) </LI> <LI>void <b><A HREF="#ref31">setTabFont</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A> &font ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A> <b><A HREF="#ref32">tabFont</A></b> () </LI> <LI>void <b><A HREF="#ref33">showTabIcon</A></b> ( bool ) </LI> <LI>bool <b><A HREF="#ref34">isShowTabIcon</A></b> () </LI> <LI>int <b><A HREF="#ref35">pageCount</A></b> () </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <b><A HREF="#ref36">getFirstPage</A></b> () </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <b><A HREF="#ref37">getLastPage</A></b> () </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <b><A HREF="#ref38">getNextPage</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <b><A HREF="#ref39">getPrevPage</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) </LI> <LI>virtual void <b><A HREF="#ref40">show</A></b> () </LI> <LI>virtual bool <b><A HREF="#ref41">eventFilter</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>*, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A>* ) </LI> </ul><h4>Public Slots</h4><ul><LI>virtual void <b><A HREF="#ref42">setEnabled</A></b> ( bool ) </LI> <LI>void <b><A HREF="#ref43">setVisiblePage</A></b> (int id) </LI> </ul><h4>Signals</h4><ul><LI>void <b><A HREF="#ref45">aboutToShow</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) </LI> <LI>void <b><A HREF="#ref46">pageSelected</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) </LI> <LI>void <b><A HREF="#ref47">tabShowPopup</A></b> ( int, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> ) </LI> </ul><h4>Protected Methods</h4><ul><LI>void <b><A HREF="#ref44">paintEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpaintevent.html">QPaintEvent</A> *) </LI> <LI><A HREF="KDockTabCtl_PrivateStruct.html">KDockTabCtl_PrivateStruct</A>* <b><A HREF="#ref49">findData</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) </LI> <LI><A HREF="KDockTabCtl_PrivateStruct.html">KDockTabCtl_PrivateStruct</A>* <b><A HREF="#ref50">findData</A></b> ( int id ) </LI> <LI>void <b><A HREF="#ref51">showPage</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>*, bool allowDisable = false ) </LI> </ul><h4>Protected Slots</h4><ul><LI>void <b><A HREF="#ref48">rightButtonPress</A></b> ( int, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> ) </LI> </ul><h4>Protected Members</h4><ul><LI>QWidgetStack* <b><A HREF="#ref52">stack</A></b></LI> <LI>QBoxLayout* <b><A HREF="#ref53">layout</A></b></LI> <LI>QBoxLayout* <b><A HREF="#ref54">stack_layout</A></b></LI> <LI>QList<KDockTabCtl_PrivateStruct> *<b><A HREF="#ref55">mainData</A></b></LI> <LI>QWidget* <b><A HREF="#ref56">currentPage</A></b></LI> <LI>KDockTabBar* <b><A HREF="#ref57">tabs</A></b></LI> <LI>KDockTabBar::TabPos <b><A HREF="#ref58">tabPos</A></b></LI> <LI>bool <b><A HREF="#ref59">m_autoSetCaption</A></b></LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> A manager for a single <A HREF="KDockTabBar.html">KDockTabBar</A> (and member of the dockwidget class set). The <A HREF="KDockWidget.html">KDockWidget</A> class ever use this class instead of accessing the KDockTabBar directly. </p> <p> For some reasons it's more practical for the Dockwidget class set than <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtabbar.html">QTabBar</A> or KTabBar . </p> <p></p> <A NAME="KDockTabCtl"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KDockTabCtl</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent = 0, const char *name = 0 ) <br></td><td align="right"><h3><strong>KDockTabCtl</strong></h3></td></tr></table><p></p><p> Constructs a dock-tab control object. </p> <A NAME="~KDockTabCtl"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KDockTabCtl</strong> () <br></td><td align="right"><h3><strong>~KDockTabCtl</strong></h3></td></tr></table><p></p><p> Destructs this. </p> <A NAME="setTabPos"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setTabPos</strong> ( <A HREF="KDockTabBar.html#TabPos">KDockTabBar::TabPos</A> ) <br></td><td align="right"><h3><strong>setTabPos</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Calls <A HREF="KDockTabBar.html#setTabPos">KDockTabBar::setTabPos</A> of its embedded tab bar but does layout actions, additionally. </p> <p> </p> <A NAME="getTabPos"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KDockTabBar.html#TabPos">KDockTabBar::TabPos</A> <strong>getTabPos</strong> () <br></td><td align="right"><h3><strong>getTabPos</strong></h3></td></tr></table><p></p><p> Returns the current tab position of its docktabbar. </p> <A NAME="insertPage"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>insertPage</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &label, int id = -1, int index = -1 ) <br></td><td align="right"><h3><strong>insertPage</strong></h3></td></tr></table><p></p><p> Inserts a new tab page in the encapsulated docktabbar. Mainly it calls <A HREF="KDockTabBar.html#insertTab">KDockTabBar::insertTab</A> and does additional management operations. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget that is inserted </TD></TR> <TR><TD align="left" valign="top"><i>label</i></TD><TD align="left" valign="top">the title for the caption bar of the tab page </TD></TR> <TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">suggest an identification number for access operations but it will be shifted to the next free value </TD></TR> <TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">the tab page position (default=-1 means append) </TD></TR> </TABLE></P> <p><b>Returns</b>: the id of the new inserted page </p> <A NAME="setPageCaption"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPageCaption</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &s ) <br></td><td align="right"><h3><strong>setPageCaption</strong></h3></td></tr></table><p></p><p> Sets the title of the tab page. Mainly it calls KDockTabBar::setPageCaption but calls it internally by the page id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget we want to give a new caption </TD></TR> <TR><TD align="left" valign="top"><i>s</i></TD><TD align="left" valign="top">well, what the heck could that be? ;-) </TD></TR> </TABLE></P> <A NAME="setPageCaption"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPageCaption</strong> ( int id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &caption ) <br></td><td align="right"><h3><strong>setPageCaption</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="pageCaption"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <strong>pageCaption</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) <br></td><td align="right"><h3><strong>pageCaption</strong></h3></td></tr></table><p></p><p> Returns the title of the tab page. Mainly it calls KDockTabBar::setPageCaption but calls it internally by the page id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget for that we want to know its caption </TD></TR> </TABLE></P> <p><b>Returns</b>: a string containing the title of the page </p> <A NAME="pageCaption"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <strong>pageCaption</strong> ( int id ) <br></td><td align="right"><h3><strong>pageCaption</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="captionAutoSet"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>captionAutoSet</strong> ( bool autoSet ) <br></td><td align="right"><h3><strong>captionAutoSet</strong></h3></td></tr></table><p></p><A NAME="isCaptionAutoSet"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>isCaptionAutoSet</strong> () <br></td><td align="right"><h3><strong>isCaptionAutoSet</strong></h3></td></tr></table><p></p><A NAME="setPixmap"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPixmap</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pix ) <br></td><td align="right"><h3><strong>setPixmap</strong></h3></td></tr></table><p></p><p> Sets an icon for the tab page (shown in the tab header). </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget we want to give a new icon </TD></TR> <TR><TD align="left" valign="top"><i>pix</i></TD><TD align="left" valign="top">the new icon </TD></TR> </TABLE></P> <A NAME="setPixmap"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPixmap</strong> ( int id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pix ) <br></td><td align="right"><h3><strong>setPixmap</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="setToolTip"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setToolTip</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &toolTipStr ) <br></td><td align="right"><h3><strong>setToolTip</strong></h3></td></tr></table><p></p><p> Sets a toolTip for the tab page (shown in the tab header). </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget we want to give the tooltip </TD></TR> <TR><TD align="left" valign="top"><i>toolTipStr</i></TD><TD align="left" valign="top">the new tooltip string </TD></TR> </TABLE></P> <A NAME="setTabTextColor"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setTabTextColor</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>*, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A> &color ) <br></td><td align="right"><h3><strong>setTabTextColor</strong></h3></td></tr></table><p></p><p> Sets the text colour of the tab page. Mainly it calls <A HREF="KDockTabBar.html#setTextColor">KDockTabBar::setTextColor</A> but calls it internally by the page id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget we want to give a new text colour </TD></TR> <TR><TD align="left" valign="top"><i>color</i></TD><TD align="left" valign="top">the colour of the tab header </TD></TR> </TABLE></P> <A NAME="setTabTextColor"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setTabTextColor</strong> ( int id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A> &color ) <br></td><td align="right"><h3><strong>setTabTextColor</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="tabTextColor"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& <strong>tabTextColor</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) <br></td><td align="right"><h3><strong>tabTextColor</strong></h3></td></tr></table><p></p><p> Returns the text colour of the tab page. Mainly it calls <A HREF="KDockTabBar.html#textColor">KDockTabBar::textColor</A> but calls it internally by the page id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget we want to ask for its text colour </TD></TR> </TABLE></P> <A NAME="tabTextColor"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcolor.html">QColor</A>& <strong>tabTextColor</strong> ( int id ) <br></td><td align="right"><h3><strong>tabTextColor</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="isPageEnabled"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>isPageEnabled</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) <br></td><td align="right"><h3><strong>isPageEnabled</strong></h3></td></tr></table><p></p><p> Returns if the tab page is enabled (if it can get the focus). </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget we want to ask if its page is enabled </TD></TR> </TABLE></P> <A NAME="isPageEnabled"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>isPageEnabled</strong> ( int id ) <br></td><td align="right"><h3><strong>isPageEnabled</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="setPageEnabled"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPageEnabled</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w, bool e) <br></td><td align="right"><h3><strong>setPageEnabled</strong></h3></td></tr></table><p></p><p> Enable or disable the tab page (whether it can get the focus or not). Mainly it calls KDockTabBar::setPageEnabled but calls it internally by the page id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget that should be enabled </TD></TR> <TR><TD align="left" valign="top"><i>e</i></TD><TD align="left" valign="top">boolean value whether enabled or disabled </TD></TR> </TABLE></P> <A NAME="setPageEnabled"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPageEnabled</strong> ( int id, bool enabled ) <br></td><td align="right"><h3><strong>setPageEnabled</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="page"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>page</strong> ( int id) <br></td><td align="right"><h3><strong>page</strong></h3></td></tr></table><p></p><p> Returns the widget that embedded in a page. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">the identification number of the page </TD></TR> </TABLE></P> <A NAME="id"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>id</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) <br></td><td align="right"><h3><strong>id</strong></h3></td></tr></table><p></p><p> Returns the widget's Id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget that should return its id </TD></TR> </TABLE></P> <A NAME="index"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>index</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) <br></td><td align="right"><h3><strong>index</strong></h3></td></tr></table><p></p><p> Returns the widget's index. (tab page position) </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the widget that should return its index </TD></TR> </TABLE></P> <A NAME="removePage"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>removePage</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* w) <br></td><td align="right"><h3><strong>removePage</strong></h3></td></tr></table><p></p><p> Removes the tab page from the covered tab bar. Mainly it calls <A HREF="KDockTabBar.html#removeTab">KDockTabBar::removeTab</A> but calls it internally by the page id. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>w</i></TD><TD align="left" valign="top">the tab page that should be removed </TD></TR> </TABLE></P> <A NAME="removePage"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>removePage</strong> ( int id ) <br></td><td align="right"><h3><strong>removePage</strong></h3></td></tr></table><p></p><p> This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <A NAME="visiblePage"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>visiblePage</strong> () <br></td><td align="right"><h3><strong>visiblePage</strong></h3></td></tr></table><p></p><p> Returns the current (visible) tab page. </p> <A NAME="visiblePageId"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>visiblePageId</strong> () <br></td><td align="right"><h3><strong>visiblePageId</strong></h3></td></tr></table><p></p><p> Returns the id of the current (visible) tab page. </p> <A NAME="setVisiblePage"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setVisiblePage</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>*, bool allowDisable = false ) <br></td><td align="right"><h3><strong>setVisiblePage</strong></h3></td></tr></table><p></p><p> Sets the given tab page as the active (and visible) one. </p> <A NAME="setTabFont"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setTabFont</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A> &font ) <br></td><td align="right"><h3><strong>setTabFont</strong></h3></td></tr></table><p></p><p> Sets the font for the tab pages. It just calls the appropriate method of its KDockTabBar. </p> <A NAME="tabFont"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A> <strong>tabFont</strong> () <br></td><td align="right"><h3><strong>tabFont</strong></h3></td></tr></table><p></p><p> Returns the font for the tab pages. It simply calls KDockTabBar::tabFont . </p> <A NAME="showTabIcon"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>showTabIcon</strong> ( bool ) <br></td><td align="right"><h3><strong>showTabIcon</strong></h3></td></tr></table><p></p><p> Enables or disables the showing of the icons for every tab page. It simply calls <A HREF="KDockTabBar.html#showTabIcon">KDockTabBar::showTabIcon</A> . </p> <A NAME="isShowTabIcon"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>isShowTabIcon</strong> () <br></td><td align="right"><h3><strong>isShowTabIcon</strong></h3></td></tr></table><p></p><p> Returns if the tab icon is shown. It simply calls <A HREF="KDockTabBar.html#isShowTabIcon">KDockTabBar::isShowTabIcon</A> . </p> <A NAME="pageCount"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>pageCount</strong> () <br></td><td align="right"><h3><strong>pageCount</strong></h3></td></tr></table><p></p><p> Returns the number of inserted tab pages. </p> <A NAME="getFirstPage"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>getFirstPage</strong> () <br></td><td align="right"><h3><strong>getFirstPage</strong></h3></td></tr></table><p></p><p> Returns the first tab page in its KDockTabBar. </p> <A NAME="getLastPage"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>getLastPage</strong> () <br></td><td align="right"><h3><strong>getLastPage</strong></h3></td></tr></table><p></p><p> Returns the last tab page in its KDockTabBar. </p> <A NAME="getNextPage"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>getNextPage</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) <br></td><td align="right"><h3><strong>getNextPage</strong></h3></td></tr></table><p></p><p> Returns the tab page that is at the right side of the given tab widget. </p> <A NAME="getPrevPage"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>getPrevPage</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) <br></td><td align="right"><h3><strong>getPrevPage</strong></h3></td></tr></table><p></p><p> Returns the tab page that is at the left side of the given tab widget. </p> <A NAME="show"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>show</strong> () <br></td><td align="right"><h3><strong>show</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Shows its encapsulated tab bar and shows the current tab page. </p> <p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html#ccc8f7">QWidget</A>.</p> <A NAME="eventFilter"></A><A NAME="ref41"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>eventFilter</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>*, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A>* ) <br></td><td align="right"><h3><strong>eventFilter</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Catches some events that are of interest for this class. </p> <A NAME="setEnabled"></A><A NAME="ref42"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setEnabled</strong> ( bool ) <br></td><td align="right"><h3><strong>setEnabled</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Enables or disables this and its KDockTabBar. </p> <p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html#f996ef">QWidget</A>.</p> <A NAME="setVisiblePage"></A><A NAME="ref43"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setVisiblePage</strong> (int id) <br></td><td align="right"><h3><strong>setVisiblePage</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Sets the visible page by its id. </p> <A NAME="paintEvent"></A><A NAME="ref44"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>paintEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpaintevent.html">QPaintEvent</A> *) <br></td><td align="right"><h3><strong>paintEvent</strong></h3></td></tr></table><p> <small>[protected]</small></p><p> Handles paint events for this widgets Reimplemented from QWidget </p> <p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html#ef2069">QWidget</A>.</p> <A NAME="aboutToShow"></A><A NAME="ref45"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>aboutToShow</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) <br></td><td align="right"><h3><strong>aboutToShow</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Signals that the given widget is about to show. </p> <A NAME="pageSelected"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>pageSelected</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) <br></td><td align="right"><h3><strong>pageSelected</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Signals that that tab page is selected. </p> <A NAME="tabShowPopup"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>tabShowPopup</strong> ( int, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> ) <br></td><td align="right"><h3><strong>tabShowPopup</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Signals that the right mouse button is pressed on this. </p> <A NAME="rightButtonPress"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>rightButtonPress</strong> ( int, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> ) <br></td><td align="right"><h3><strong>rightButtonPress</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><p> Do some things that should be done when someone has pressed the right mouse button on this. </p> <A NAME="findData"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KDockTabCtl_PrivateStruct.html">KDockTabCtl_PrivateStruct</A>* <strong>findData</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* ) <br></td><td align="right"><h3><strong>findData</strong></h3></td></tr></table><p> <small>[protected]</small></p><p> Returns the appropriate data for the widget from the parameter list. </p> <A NAME="findData"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KDockTabCtl_PrivateStruct.html">KDockTabCtl_PrivateStruct</A>* <strong>findData</strong> ( int id ) <br></td><td align="right"><h3><strong>findData</strong></h3></td></tr></table><p> <small>[protected]</small></p><p> Returns the appropriate data for the widget from the parameter list described by its id. </p> <A NAME="showPage"></A><A NAME="ref51"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>showPage</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>*, bool allowDisable = false ) <br></td><td align="right"><h3><strong>showPage</strong></h3></td></tr></table><p> <small>[protected]</small></p><p> Shows the tab page. </p> <A NAME="stack"></A><A NAME="ref52"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidgetstack.html">QWidgetStack</A>* <strong>stack</strong> </td><td align="right"><h3><strong>stack</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="layout"></A><A NAME="ref53"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qboxlayout.html">QBoxLayout</A>* <strong>layout</strong> </td><td align="right"><h3><strong>layout</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="stack_layout"></A><A NAME="ref54"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qboxlayout.html">QBoxLayout</A>* <strong>stack_layout</strong> </td><td align="right"><h3><strong>stack_layout</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="mainData"></A><A NAME="ref55"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlist.html">QList</A><<A HREF="KDockTabCtl_PrivateStruct.html">KDockTabCtl_PrivateStruct</A>> * <strong>mainData</strong> </td><td align="right"><h3><strong>mainData</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="currentPage"></A><A NAME="ref56"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* <strong>currentPage</strong> </td><td align="right"><h3><strong>currentPage</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="tabs"></A><A NAME="ref57"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KDockTabBar.html">KDockTabBar</A>* <strong>tabs</strong> </td><td align="right"><h3><strong>tabs</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="tabPos"></A><A NAME="ref58"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KDockTabBar.html#TabPos">KDockTabBar::TabPos</A> <strong>tabPos</strong> </td><td align="right"><h3><strong>tabPos</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="m_autoSetCaption"></A><A NAME="ref59"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>m_autoSetCaption</strong> </td><td align="right"><h3><strong>m_autoSetCaption</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Author</i>: Max Judin (documentation: Falk Brettschneider). </LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>