#include <BoxConstraint.h>
With BoxLayout a Widget can be expansive or not. An expansive widget tries to ocuppy more space what Widget::getPreferredSize() returns (generally widgets like ListBox or Edit should be expansive).
If you don't setup an BoxConstraint for a widget controlled by a BoxLayout, the widget'll be known as non-expansive.
Public Member Functions | |
BoxConstraint (bool expansive) | |
BoxConstraint (const BoxConstraint &boxConstraint) | |
virtual | ~BoxConstraint () |
bool | isExpansive () |
void | setExpansive (bool expansive) |
Private Attributes | |
bool | m_expansive |
BoxConstraint::BoxConstraint | ( | bool | expansive | ) |
BoxConstraint::BoxConstraint | ( | const BoxConstraint & | boxConstraint | ) |
BoxConstraint::~BoxConstraint | ( | ) | [virtual] |
bool BoxConstraint::isExpansive | ( | ) |
void BoxConstraint::setExpansive | ( | bool | expansive | ) |
bool Vaca::BoxConstraint::m_expansive [private] |