KLGroup Class Reference

[KLE Index] [KLE Hierarchy] [Headers]


KLGroup Baseclass for all groups More...

#include <klelib/klgroup.h>

Inherits: KLChild

Public Members

Protected Members


Detailed Description

KLGroup

Baseclass for all groups


void setSameSize(bool samesize) [public]

If true, all childs of this group will get the same room. If the room is to big for a child, it will be centered

Note: A samesize group completely ignore the weights

Each subclass of KLGroup should support this flag

void setXSpacing( ulong x ) [public]

Set the x space between the childs in pixel

void setYSpacing( ulong y ) [public]

Set the y spacing between the childs in pixel

void setSpaceBorder( bool spaceBorder ) [public]

If true, the group will get a spaceborder. This means, that the group have at it borders xSpacing and ySpacing pixel free room.

bool sameSize() const [public]

Returns:
true if group is in SameSize modus
See Also:
setSameSize

ulong xSpacing() const [public]

Returns:
X (row) spacing
See Also:
setXSpacing

ulong ySpacing() const [public]

Returns:
Y (coloum) spacing
See Also:
setYSpacing

bool spaceBorder() const [public]

return true if samesize is on

See Also:
setSpaceBorder

bool addChild( KLChild *child ) [public]

Addīs a child to this group

If the group is showed at this moment, this will force a relayout. Than also this child will be showed

NOTE: If a group getīs deleted, it also deletes all of itīs childs

Parameters:
child Child to insert into.

void remChild( KLChild *child ) [public]

Removes a child from this group

If the group is showed, this will force a relayout

KLGroup& operator<<(_grp_change_func func) [public]

Apply a streaming manipulator

KLGroup& operator<<(KLChild *child) [public]

Add a child via streaming

See Also:
addChild

KLGroup& operator<<(KLChild &child) [public]

Add a child via streaming

See Also:
addChild

KLGroup& operator<<(_child_change_func func) [public]

Apply a streaming manipulator

KLStreamHelp& operator<<(_child_change_p1_func func) [public]

Apply a streaming manipulator


Documentation generated by emmy@gate on Tue Sep 22 21:13:27 MEST 1998
Kdoc