Wt
3.3.8
|
An abstract base class for items that can participate in a layout. More...
#include <Wt/WLayoutItem>
Public Member Functions | |
virtual | ~WLayoutItem () |
Destructor. | |
virtual WWidgetItem * | findWidgetItem (WWidget *widget)=0 |
Finds the widget item corresponding to the given widget More... | |
virtual WLayout * | layout ()=0 |
Returns the layout that implements this WLayoutItem. More... | |
virtual WWidget * | widget ()=0 |
Returns the widget that is held by this WLayoutItem. More... | |
virtual WLayout * | parentLayout () const =0 |
Returns the layout in which this item is contained. | |
virtual WLayoutItemImpl * | impl () const =0 |
Returns the implementation for this layout item. More... | |
Private Member Functions | |
virtual void | setParentWidget (WWidget *parent)=0 |
Internal method. | |
virtual void | setParentLayout (WLayout *parentLayout)=0 |
Internal method. | |
An abstract base class for items that can participate in a layout.
|
pure virtual |
Finds the widget item corresponding to the given widget
The widget is searched for recursively inside nested layouts.
Implemented in Wt::WLayout, and Wt::WWidgetItem.
|
pure virtual |
Returns 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.
|
pure virtual |
Returns the layout that implements this WLayoutItem.
This implements a type-safe upcasting mechanism to a WLayout.
Implemented in Wt::WLayout, and Wt::WWidgetItem.
|
pure virtual |
Returns 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.