#include <layout.h>
Inherits Wt::Layout.
Inherited by Wt::BoxLayout, Wt::CascadeLayout, and Wt::GridLayout.
Public Types | |
typedef Container::value_type | Compound |
Public Member Functions | |
LayoutStdContainer (Widget *parent, int margin=0, int spacing=-1, const std::string &name="StdLayout::anon") | |
LayoutStdContainer (Layout *parent_layout, int margin=0, int spacing=-1, const std::string &name="StdLayout::anon") | |
LayoutStdContainer (int spacing=-1, const std::string &name="StdLayout::anon") | |
~LayoutStdContainer () | |
virtual bool | isEmpty () const |
virtual void | addItem (LayoutItem *li) |
virtual bool | removeItem (LayoutItem *li) |
returns true if a layoutitem is actually removed | |
virtual LayoutIterator | iterator () |
Protected Member Functions | |
virtual bool | exists (const LayoutItem *li) const |
Compound::LayoutItemValue & | value (const LayoutItem *li) |
Compound::LayoutItemValue & | operator[] (const LayoutItem *li) |
The ways to access the value part are: (*this)[li].stretch = 1; or XXXLayout& self(*this); self[li].stretch = 1; or value(li).stretch = 1;
where stretch is a member of the value part of the compound type
typedef Container::value_type Wt::LayoutStdContainer< Container >::Compound |
Wt::LayoutStdContainer< Container >::LayoutStdContainer | ( | Widget * | parent, | |
int | margin = 0 , |
|||
int | spacing = -1 , |
|||
const std::string & | name = "StdLayout::anon" | |||
) | [inline] |
Wt::LayoutStdContainer< Container >::LayoutStdContainer | ( | Layout * | parent_layout, | |
int | margin = 0 , |
|||
int | spacing = -1 , |
|||
const std::string & | name = "StdLayout::anon" | |||
) | [inline] |
Wt::LayoutStdContainer< Container >::LayoutStdContainer | ( | int | spacing = -1 , |
|
const std::string & | name = "StdLayout::anon" | |||
) | [inline] |
Wt::LayoutStdContainer< Container >::~LayoutStdContainer | ( | ) | [inline] |
virtual void Wt::LayoutStdContainer< Container >::addItem | ( | LayoutItem * | li | ) | [inline, virtual] |
virtual bool Wt::LayoutStdContainer< Container >::exists | ( | const LayoutItem * | li | ) | const [inline, protected, virtual] |
Implements Wt::Layout.
virtual bool Wt::LayoutStdContainer< Container >::isEmpty | ( | ) | const [inline, virtual] |
Reimplemented from Wt::LayoutItem.
virtual LayoutIterator Wt::LayoutStdContainer< Container >::iterator | ( | ) | [inline, virtual] |
Reimplemented from Wt::LayoutItem.
Compound::LayoutItemValue& Wt::LayoutStdContainer< Container >::operator[] | ( | const LayoutItem * | li | ) | [inline, protected] |
virtual bool Wt::LayoutStdContainer< Container >::removeItem | ( | LayoutItem * | li | ) | [inline, virtual] |
Compound::LayoutItemValue& Wt::LayoutStdContainer< Container >::value | ( | const LayoutItem * | li | ) | [inline, protected] |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.