Layouts are constructed from Container, TabbedContainer, and Panel building blocks. Panels hold actual child widgets, Containers hold other Components, and TabbedContainers are a special Container which displays a tab for each of its children instead of arranging its children either vertically or horizontally.
Public Types | |
typedef std::list< Container * > | ContainerList |
Public Member Functions | |
void | add (Panel *panel, ALIGNMENT where) |
Adds a child widget to the Layout. | |
void | add (Container *container, ALIGNMENT where) |
Adds a Container to the Layout. | |
Layout * | copy () const |
const ContainerList & | get_containers () const |
Layout (const Layout &other) | |
Layout () | |
~Layout () | |
Private Attributes | |
std::auto_ptr< LayoutData > | m_data |
Classes | |
class | LayoutData |
typedef std::list<Container*> ifm::layout::Layout::ContainerList |
ifm::layout::Layout::Layout | ( | ) |
ifm::layout::Layout::Layout | ( | const Layout & | other | ) |
ifm::layout::Layout::~Layout | ( | ) |
const Layout::ContainerList & ifm::layout::Layout::get_containers | ( | ) | const |
std::auto_ptr<LayoutData> ifm::layout::Layout::m_data [private] |