1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WLayoutItem Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a>
</div>
</div>
<div class="contents">
<h1>Wt::WLayoutItem Class Reference</h1><!-- doxytag: class="Wt::WLayoutItem" -->An abstract base class for items that can participate in a layout.
<a href="#_details">More...</a>
<p>
<code>#include <Wt/WLayoutItem></code>
<p>
<div class="dynheader">
Inheritance diagram for Wt::WLayoutItem:</div>
<div class="dynsection">
<p><center><img src="classWt_1_1WLayoutItem__inherit__graph.png" border="0" usemap="#Wt_1_1WLayoutItem__inherit__map" alt="Inheritance graph"></center>
<map name="Wt_1_1WLayoutItem__inherit__map">
<area shape="rect" href="classWt_1_1WLayout.html" title="An abstract base class for layout managers." alt="" coords="327,80,423,107"><area shape="rect" href="classWt_1_1WWidgetItem.html" title="A layout item that holds a single widget." alt="" coords="447,80,569,107"><area shape="rect" href="classWt_1_1WBorderLayout.html" title="A layout manager which divides the container region in five regions." alt="" coords="5,155,139,181"><area shape="rect" href="classWt_1_1WBoxLayout.html" title="A layout manager which arranges widgets horizontally or vertically." alt="" coords="163,155,283,181"><area shape="rect" href="classWt_1_1WDefaultLayout.html" title="A default layout manager." alt="" coords="307,155,443,181"><area shape="rect" href="classWt_1_1WFitLayout.html" title="A layout manager which spans a single widget to all available space." alt="" coords="467,155,579,181"><area shape="rect" href="classWt_1_1WGridLayout.html" title="A layout manager which arranges widgets in a grid." alt="" coords="603,155,723,181"><area shape="rect" href="classWt_1_1WHBoxLayout.html" title="A layout manager which arranges widgets horizontally." alt="" coords="7,229,135,256"><area shape="rect" href="classWt_1_1WVBoxLayout.html" title="A layout manager which arranges widgets vertically." alt="" coords="159,229,287,256"><area shape="rect" href="classWt_1_1WAccordionLayout.html" title="A layout manager which shows one item at a time." alt="" coords="311,229,463,256"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classWt_1_1WLayoutItem-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40dd93ac8deba8535e0e5e6645f64ad4"></a><!-- doxytag: member="Wt::WLayoutItem::~WLayoutItem" ref="40dd93ac8deba8535e0e5e6645f64ad4" args="()" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#40dd93ac8deba8535e0e5e6645f64ad4">~WLayoutItem</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WWidgetItem.html">WWidgetItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#95f14880009c9121d2f2d06cdf3204f0">findWidgetItem</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *widget)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finds the widget item corresponding to the given <em>widget</em>. <a href="#95f14880009c9121d2f2d06cdf3204f0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLayout.html">WLayout</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#3f81b4d198401ae493276a61be6784cf">layout</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the layout that implements this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>. <a href="#3f81b4d198401ae493276a61be6784cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WWidget.html">WWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#06b127060eaf8a0b87a994b483d493e1">widget</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the widget that is held by this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>. <a href="#06b127060eaf8a0b87a994b483d493e1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05a18a6a59ef9e36bcb5d47199b18ba1"></a><!-- doxytag: member="Wt::WLayoutItem::parentLayout" ref="05a18a6a59ef9e36bcb5d47199b18ba1" args="() const =0" -->
virtual <a class="el" href="classWt_1_1WLayout.html">WLayout</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#05a18a6a59ef9e36bcb5d47199b18ba1">parentLayout</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the layout in which this item is contained. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WLayoutItemImpl.html">WLayoutItemImpl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#b2f17122cf9589657bc0e6fa5e3ea560">impl</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the implementation for this layout item. <a href="#b2f17122cf9589657bc0e6fa5e3ea560"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa925f04082f2905b1487824d377b39f"></a><!-- doxytag: member="Wt::WLayoutItem::setParent" ref="fa925f04082f2905b1487824d377b39f" args="(WWidget *parent)=0" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#fa925f04082f2905b1487824d377b39f">setParent</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *parent)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d810fbebeb2dce998e538eb31c060430"></a><!-- doxytag: member="Wt::WLayoutItem::setParentLayout" ref="d810fbebeb2dce998e538eb31c060430" args="(WLayout *parentLayout)=0" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayoutItem.html#d810fbebeb2dce998e538eb31c060430">setParentLayout</a> (<a class="el" href="classWt_1_1WLayout.html">WLayout</a> *parentLayout)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An abstract base class for items that can participate in a layout.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html" title="An abstract base class for layout managers.">WLayout</a> </dd></dl>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="95f14880009c9121d2f2d06cdf3204f0"></a><!-- doxytag: member="Wt::WLayoutItem::findWidgetItem" ref="95f14880009c9121d2f2d06cdf3204f0" args="(WWidget *widget)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WWidgetItem.html">WWidgetItem</a>* Wt::WLayoutItem::findWidgetItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWt_1_1WWidget.html">WWidget</a> * </td>
<td class="paramname"> <em>widget</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Finds the widget item corresponding to the given <em>widget</em>.
<p>
The widget is searched for recursively inside nested layouts.
<p>Implemented in <a class="el" href="classWt_1_1WLayout.html#af26f397f48824ed1e359d6a603eebe8">Wt::WLayout</a>, and <a class="el" href="classWt_1_1WWidgetItem.html#997b036f16e7667db3f8c59e310ad98c">Wt::WWidgetItem</a>.</p>
</div>
</div><p>
<a class="anchor" name="3f81b4d198401ae493276a61be6784cf"></a><!-- doxytag: member="Wt::WLayoutItem::layout" ref="3f81b4d198401ae493276a61be6784cf" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLayout.html">WLayout</a>* Wt::WLayoutItem::layout </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the layout that implements this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>.
<p>
This implements a type-safe upcasting mechanism to a <a class="el" href="classWt_1_1WLayout.html" title="An abstract base class for layout managers.">WLayout</a>.
<p>Implemented in <a class="el" href="classWt_1_1WLayout.html#82078a08c5a21aa67bd5a83c377d437d">Wt::WLayout</a>, and <a class="el" href="classWt_1_1WWidgetItem.html#eec342fa9330656ade0094be78d5fa34">Wt::WWidgetItem</a>.</p>
</div>
</div><p>
<a class="anchor" name="06b127060eaf8a0b87a994b483d493e1"></a><!-- doxytag: member="Wt::WLayoutItem::widget" ref="06b127060eaf8a0b87a994b483d493e1" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WWidget.html">WWidget</a>* Wt::WLayoutItem::widget </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the widget that is held by this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>.
<p>
This implements a type-safe upcasting mechanism to a <a class="el" href="classWt_1_1WWidgetItem.html" title="A layout item that holds a single widget.">WWidgetItem</a>.
<p>Implemented in <a class="el" href="classWt_1_1WLayout.html#da2f5beaa8a0153451ba55581ea9bbf8">Wt::WLayout</a>, and <a class="el" href="classWt_1_1WWidgetItem.html#5f1319ce853b78703399d6d80748ef52">Wt::WWidgetItem</a>.</p>
</div>
</div><p>
<a class="anchor" name="b2f17122cf9589657bc0e6fa5e3ea560"></a><!-- doxytag: member="Wt::WLayoutItem::impl" ref="b2f17122cf9589657bc0e6fa5e3ea560" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classWt_1_1WLayoutItemImpl.html">WLayoutItemImpl</a>* Wt::WLayoutItem::impl </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the implementation for this layout item.
<p>
The implementation of a layout item depends on the kind of container for which the layout does layout management.
<p>Implemented in <a class="el" href="classWt_1_1WLayout.html#eb31f2caad3ed9b1ab2b06327cc92bb2">Wt::WLayout</a>, and <a class="el" href="classWt_1_1WWidgetItem.html#d17fab03e099007600e9d39dd017b9b4">Wt::WWidgetItem</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:07 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|