<HTML> <HEAD> <TITLE>class KContainerLayoutItem</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 KContainerLayoutItem</h1> </TD> <TD valign="top" align="right" colspan="1"> This class represents one widget inside the one KContainerLayout. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH colspan="2">Internal Use Only</TH></TR><TR><TH>Full name</TH><TD><code><A HREF="KContainerLayout.html">KContainerLayout</A>::KContainerLayoutItem</code></TD></TR> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kcontainer_h.html">kcontainer.h</A>></code></TD></TR> <TR><TH><A HREF="full-list-KContainerLayout__KContainerLayoutItem.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">KContainerLayoutItem</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *w,bool e=FALSE,bool f=FALSE,int p=0) </LI> <LI>void <b><A HREF="#ref2">setExpand</A></b> (bool b) </LI> <LI>void <b><A HREF="#ref3">setFill</A></b> (bool b) </LI> <LI>void <b><A HREF="#ref4">setPadding</A></b> (int i) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * <b><A HREF="#ref5">widget</A></b> () </LI> <LI>bool <b><A HREF="#ref6">expand</A></b> () const </LI> <LI>bool <b><A HREF="#ref7">fill</A></b> () const </LI> <LI>int <b><A HREF="#ref8">padding</A></b> () const </LI> </ul><h4>Protected Members</h4><ul><LI>QWidget *<b><A HREF="#ref9">_widget</A></b></LI> <LI>bool <b><A HREF="#ref10">_expand</A></b></LI> <LI>bool <b><A HREF="#ref11">_fill</A></b></LI> <LI>int <b><A HREF="#ref12">_padding</A></b></LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> This class represents one widget inside the one KContainerLayout. </p> <p></p> <p><b>See also</b>: <A HREF="KContainerLayout.html">KContainerLayout</A></p> <A NAME="KContainerLayoutItem"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KContainerLayoutItem</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *w,bool e=FALSE,bool f=FALSE,int p=0) <br></td><td align="right"><h3><strong>KContainerLayoutItem</strong></h3></td></tr></table><p></p><p> Creates one KContIem </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 associated with this KContainerLayoutItem </TD></TR> <TR><TD align="left" valign="top"><i>e</i></TD><TD align="left" valign="top">Expand will make the widget to use all space alocated to it </TD></TR> <TR><TD align="left" valign="top"><i>f</i></TD><TD align="left" valign="top">Fill will make the widget be sized to ocupy all the space allocated to it. Only makes sense with expand = TRUE </TD></TR> <TR><TD align="left" valign="top"><i>p</i></TD><TD align="left" valign="top">Padding is the size the widget will use as borders on both sides of the space allocated to it. </TD></TR> </TABLE></P> <A NAME="setExpand"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setExpand</strong> (bool b) <br></td><td align="right"><h3><strong>setExpand</strong></h3></td></tr></table><p></p><A NAME="setFill"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setFill</strong> (bool b) <br></td><td align="right"><h3><strong>setFill</strong></h3></td></tr></table><p></p><A NAME="setPadding"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setPadding</strong> (int i) <br></td><td align="right"><h3><strong>setPadding</strong></h3></td></tr></table><p></p><A NAME="widget"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * <strong>widget</strong> () <br></td><td align="right"><h3><strong>widget</strong></h3></td></tr></table><p></p><A NAME="expand"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>expand</strong> () <br></td><td align="right"><h3><strong>expand</strong></h3></td></tr></table><p> <small>[const]</small></p><A NAME="fill"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>fill</strong> () <br></td><td align="right"><h3><strong>fill</strong></h3></td></tr></table><p> <small>[const]</small></p><A NAME="padding"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>padding</strong> () <br></td><td align="right"><h3><strong>padding</strong></h3></td></tr></table><p> <small>[const]</small></p><A NAME="_widget"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * <strong>_widget</strong> </td><td align="right"><h3><strong>_widget</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_expand"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>_expand</strong> </td><td align="right"><h3><strong>_expand</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_fill"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>_fill</strong> </td><td align="right"><h3><strong>_fill</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_padding"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>_padding</strong> </td><td align="right"><h3><strong>_padding</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Version</i>: 0.1 </LI><LI><i>Author</i>: Jorge Monteiro <jomo@casema.net> </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>