Wt::WWidgetItem Class Reference

A layout item that holds a single widget. More...

#include <WWidgetItem>

Inheritance diagram for Wt::WWidgetItem:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 WWidgetItem (WWidget *widget)
 Create a new item for the given widget.
virtual WWidgetwidget ()
 Get the widget that is held by this WLayoutItem.
virtual WLayoutlayout ()
 Get the layout that implements this WLayoutItem.
virtual WWidgetItemfindWidgetItem (WWidget *widget)
 Find the widget item corresponding to the given widget.
WLayoutItemImplimpl () const
 Get the implementation for this layout item.


Detailed Description

A layout item that holds a single widget.

See also:
WLayout::addWidget(WWidget *)

Member Function Documentation

virtual WWidget* Wt::WWidgetItem::widget (  )  [inline, virtual]

Get the widget that is held by this WLayoutItem.

This implements a type-safe upcasting mechanism to a WWidgetItem.

Implements Wt::WLayoutItem.

virtual WLayout* Wt::WWidgetItem::layout (  )  [inline, virtual]

Get the layout that implements this WLayoutItem.

This implements a type-safe upcasting mechanism to a WLayout.

Implements Wt::WLayoutItem.

WWidgetItem * Wt::WWidgetItem::findWidgetItem ( WWidget widget  )  [virtual]

Find the widget item corresponding to the given widget.

The widget is searched recursively inside nested layouts.

Implements Wt::WLayoutItem.

WLayoutItemImpl* Wt::WWidgetItem::impl (  )  const [inline, virtual]

Get the implementation for this layout item.

The implementation of a layout item depends on the kind of container for which the layout does layout management.

Implements Wt::WLayoutItem.


The documentation for this class was generated from the following files:
Generated on Mon Apr 14 15:15:01 2008 for Wt by doxygen 1.5.3