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
- KLDesigner ()
- ~KLDesigner ()
- 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),
}
- void showDesigner (ulong showFlags = ~0)
- void hideDesigner ()
- void attachDevice (KLDevice *dev)
- void detachDevice (KLDevice *dev)
- KLMetaRegList* regList ()
This class makes you able to let the user edit any existing
KLE-GUI.
You must do the following steps:
- Create a KLDesigner object
- Register all your controls
- Call KLDesigner::editDevice /LI>
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
Hides the designer toolpalettes
- See Also:
- showDesigner
Attaches a layout device to the designer.
The designer will grap all input events from the
device.
- Parameters:
-
- See Also:
- detachDevice
Detach a layout device from the designer.
The device will get the input back.
- See Also:
- attachDevice
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
|