#include <Wt/WLayoutItem>
Public Member Functions | |
virtual | ~WLayoutItem () |
Destroy a layout item. | |
virtual WWidgetItem * | findWidgetItem (WWidget *widget)=0 |
Find the widget item corresponding to the given widget. | |
virtual WLayout * | layout ()=0 |
Get the layout that implements this WLayoutItem. | |
virtual WWidget * | widget ()=0 |
Get the widget that is held by this WLayoutItem. | |
WLayout * | parentLayout () const |
Get the layout in which this item is contained. | |
virtual WLayoutItemImpl * | impl () const =0 |
Get the implementation for this layout item. | |
Protected Member Functions | |
WLayoutItem () | |
Create a new layout item. |
virtual WWidgetItem* Wt::WLayoutItem::findWidgetItem | ( | WWidget * | widget | ) | [pure virtual] |
Find the widget item corresponding to the given widget.
The widget is searched recursively inside nested layouts.
Implemented in Wt::WLayout, and Wt::WWidgetItem.
virtual WLayout* Wt::WLayoutItem::layout | ( | ) | [pure virtual] |
Get the layout that implements this WLayoutItem.
This implements a type-safe upcasting mechanism to a WLayout.
Implemented in Wt::WLayout, and Wt::WWidgetItem.
virtual WWidget* Wt::WLayoutItem::widget | ( | ) | [pure virtual] |
Get the widget that is held by this WLayoutItem.
This implements a type-safe upcasting mechanism to a WWidgetItem.
Implemented in Wt::WLayout, and Wt::WWidgetItem.
virtual WLayoutItemImpl* Wt::WLayoutItem::impl | ( | ) | const [pure 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.
Implemented in Wt::WLayout, and Wt::WWidgetItem.