KLDesigner Class Reference

[KLE Index] [KLE Hierarchy] [Headers]


This class makes you able to let the user edit any existing KLE-GUI More...

#include <klelib/kldesigner.h>

Public Members


Detailed Description

This class makes you able to let the user edit any existing KLE-GUI. You must do the following steps:


enum Palettes ( /** * Main control window of the designer. Contains * buttons to show/hide all other palettes and to * enter the userglobal designer setup. */ Pal_Main = (1<<0), /** * Showes the controltree. */ Pal_Controls = (1<<1), /** * Showes the properties of the actual selected child and * let edit them */ Pal_Properties = (1<<2), /** * Trashcanwindow. The user can drop childs on it to remove them * from the GUI. */ Pal_Trashcan = (1<<3), ) [public]

Enum flags to specify palettes to show

void showDesigner(ulong showFlags = ~0) [public]

Shows the designer toolpalettes.

Parameters:
showFlags Specifies, wich palettes to show. Specify ~0 to show all palettes.
See Also:
hideDesigner

void hideDesigner() [public]

Hides the designer toolpalettes

See Also:
showDesigner

void attachDevice(KLDevice *dev) [public]

Attaches a layout device to the designer.

The designer will grap all input events from the device.

Parameters:
dev Device to attach
See Also:
detachDevice

void detachDevice(KLDevice *dev) [public]

Detach a layout device from the designer.

The device will get the input back.

See Also:
attachDevice

KLMetaRegList* regList() [public]

Use this list to registrate all your classes

You also use this list for dumping/restoring on devices.

The KLE common controls are already registered

Returns:
the designers registration list

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