Class WLayout

All Implemented Interfaces:
Direct Known Subclasses:
WBorderLayout, WBoxLayout, WFitLayout, WGridLayout

public abstract class WLayout
extends WObject
implements WLayoutItem
An abstract base class for layout managers.

This class is the abstract base class for any layout manager. A layout manager is associated with a container widget, and manages the layout of children inside the whole space available to the container widget.

The implementation of the layout manager depends on the container widget to which it is set, and is therefore deferred to WLayoutImpl.

Note: When applying a layout manager to a WContainerWidget, you may not define any padding for the container widget. Instead, use setContentsMargins().