Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KSqueezedTextLabel Class Reference

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

#include <ksqueezedtextlabel.h>

List of all members.

Public Methods

 KSqueezedTextLabel (QWidget *parent, const char *name=0)

Protected Methods

void resizeEvent (QResizeEvent *)
void squeezeTextToLabel ()


Detailed Description

A replacement for QLabel that squeezes its text.

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

Author:
Ronny Standtke <Ronny.Standtke@gmx.de>
Version:
Id:
ksqueezedtextlabel.h,v 1.6 2002/03/04 00:51:51 lunakl Exp

Definition at line 43 of file ksqueezedtextlabel.h.


Constructor & Destructor Documentation

KSqueezedTextLabel::KSqueezedTextLabel QWidget *    parent,
const char *    name = 0
 

Default constructor.


Member Function Documentation

void KSqueezedTextLabel::resizeEvent QResizeEvent *    [protected]
 

used when widget is resized

void KSqueezedTextLabel::squeezeTextToLabel   [protected]
 

does the dirty work


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:25 2003 for kdelibs by doxygen1.2.18