KLTextPixmapMixer Class Reference

[KLE Index] [KLE Hierarchy] [Headers]


Text/Pixmap Mixer More...

#include <klelib/kllabel.h>

Inherits: KLWidgetBase

Public Members

Protected Members


Detailed Description

Text/Pixmap Mixer. This is an internal toolclass to mix text and pixmaps on a button or label.


enum DisplayModes ( Text, Image, HTextImage, HImageText, VTextImage, VImageText ) [public]

Display mix modes

void setText(const char *) [public]

Changes the text

Changing this will force a relayout.

void setFilename(const char *) [public]

Changes the image filename

Changing this will force a relayout.

void setDisplayMode( DisplayModes displayMode ) [public]

If true, the text() is interpreted as a filename of an image.

Changing this will force a relayout.

enum WidgetModes ( Label, PushButton ) [protected]

The constructor is only for use with derivided classes

Note: If the constructor is called with displayMode == Image, it will set the widget weight to 0.


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