class KSqueezedTextLabel

A replacement for QLabel that squeezes its text. More...

Definition#include <ksqueezedtextlabel.h>
InheritsQLabel [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Protected Methods

Protected Members


Detailed Description

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

 KSqueezedTextLabel ( QWidget *parent )

Default constructor.

 KSqueezedTextLabel ( QWidget *parent, const char *name)

 KSqueezedTextLabel ( const QString &text, QWidget *parent )

 KSqueezedTextLabel ( const QString &text, QWidget *parent, const char *name )

void  setText ( const QString & )

[slot]

void  resizeEvent ( QResizeEvent * )

[protected: ]

used when widget is resized

void  squeezeTextToLabel ()

[protected: ]

does the dirty work

QString fullText

[protected: ]