#include <uboxGeom.hpp>
Inheritance diagram for ubit::UHeight:
Public Member Functions | |
UHeight (float=UNSPECIFIED) | |
UHeight (const UHeight &) | |
UHeight & | operator= (float v) |
UHeight & | operator= (const UFloat &v) |
UHeight & | operator= (const UHeight &v) |
virtual void | set (float) |
virtual void | set (const UHeight &) |
operator float () const | |
type conversion: returns value. | |
bool | operator== (float) const |
bool | operator== (const UHeight &) const |
bool | isResizable () const |
UHeight & | resizable (bool=true) |
see UWidth. | |
bool | isAdjustable () const |
UHeight & | adjustable (bool=true) |
see UWidth. | |
virtual void | update () |
updates parents graphics. | |
virtual void | putProp (UContext *, UControl *) |
[impl] changes corresponding value in the UContext | |
Static Public Attributes | |
static const int | UNSPECIFIED = -1 |
Protected Attributes | |
float | def_value |
float | actual_value |
bool | is_resizable |
bool | is_adjustable |
Friends | |
class | UViewLayoutImpl |
UHeight & | uheight () |
UHeight & | uheight (float v) |
UHeight & | uheight (const UHeight &v) |
shortcut function: uheight(val) returns *new UHeight(val). |
specifies the height policy of the box(es) that contain(s) this property. Usage: see UWidth. by default, the height is resizable() but is not adjustable()