org.kde.koala

Class KSqueezedTextLabel

public class KSqueezedTextLabel extends QLabel

A label class that squeezes its text into the label If the text is too long to fit into the label it is divided into remaining left and right parts which are separated by three dots. Example: http://www.kde.org/documentation/index.html could be squeezed to http://www.kde...ion/index.html \image html ksqueezedtextlabel.png "KSqueezedTextLabel Widget"

Author: Ronny Standtke

UNKNOWN: A replacement for QLabel that squeezes its text.

Constructor Summary
protected KSqueezedTextLabel(Class dummy)
KSqueezedTextLabel(QWidget parent, String name)
Default constructor.
KSqueezedTextLabel(QWidget parent)
KSqueezedTextLabel(String text, QWidget parent, String name)
KSqueezedTextLabel(String text, QWidget parent)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
QSizeminimumSizeHint()
protected voidresizeEvent(QResizeEvent arg1)
used when widget is resized
voidsetAlignment(int arg1)
Overridden for internal reasons; the API remains unaffected.
voidsetText(String arg1)
QSizesizeHint()
protected voidsqueezeTextToLabel()
does the dirty work

Constructor Detail

KSqueezedTextLabel

protected KSqueezedTextLabel(Class dummy)

KSqueezedTextLabel

public KSqueezedTextLabel(QWidget parent, String name)
Default constructor.

UNKNOWN: Default constructor.

KSqueezedTextLabel

public KSqueezedTextLabel(QWidget parent)

KSqueezedTextLabel

public KSqueezedTextLabel(String text, QWidget parent, String name)

KSqueezedTextLabel

public KSqueezedTextLabel(String text, QWidget parent)

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

minimumSizeHint

public QSize minimumSizeHint()

resizeEvent

protected void resizeEvent(QResizeEvent arg1)
used when widget is resized

UNKNOWN: used when widget is resized

setAlignment

public void setAlignment(int arg1)
Overridden for internal reasons; the API remains unaffected.

UNKNOWN: Overridden for internal reasons; the API remains unaffected.

setText

public void setText(String arg1)

sizeHint

public QSize sizeHint()

squeezeTextToLabel

protected void squeezeTextToLabel()
does the dirty work

UNKNOWN: does the dirty work