.TH "KSqueezedTextLabel" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSqueezedTextLabel \- A label class that squeezes its text into the label A replacement for \fBQLabel\fP that squeezes its text.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksqueezedtextlabel.h>\fP
.PP
Inherits \fBQLabel\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBsetText\fP (const  \fBQString\fP &)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKSqueezedTextLabel\fP (\fBQWidget\fP *parent, const  char *name=0)"
.br
.RI "\fIDefault constructor. \fP"
.ti -1c
.RI "\fBKSqueezedTextLabel\fP (const  \fBQString\fP &\fBtext\fP, \fBQWidget\fP *parent, const  char *name=0)"
.br
.ti -1c
.RI "virtual \fBQSize\fP \fBminimumSizeHint\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBresizeEvent\fP (\fBQResizeEvent\fP *)"
.br
.RI "\fIused when widget is resized \fP"
.ti -1c
.RI "void \fBsqueezeTextToLabel\fP ()"
.br
.RI "\fIdoes the dirty work \fP"
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBQString\fP \fBfullText\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
A label class that squeezes its text into the label A replacement for \fBQLabel\fP that squeezes its text. 

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.
.PP
Example: http://www.kde.org/documentation/index.html could be squeezed to http://www.kde...ion/index.html
.PP
\fBAuthor:\fP
.RS 4
Ronny Standtke <Ronny.Standtke@gmx.de> 
.RE
.PP
\fBVersion:\fP
.RS 4
\fBId\fP.RS 4
\fBksqueezedtextlabel.h\fP,v 1.6 2002/03/04 00:51:51 lunakl Exp 
.RE
.PP
.RE
.PP

.PP
Definition at line 43 of file ksqueezedtextlabel.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KSqueezedTextLabel::KSqueezedTextLabel (\fBQWidget\fP * parent, const char * name = 0)"
.PP
Default constructor. Definition at line 29 of file ksqueezedtextlabel.cpp.
.PP
References KStdAccel::name().
.SH "Member Function Documentation"
.PP 
.SS "void KSqueezedTextLabel::resizeEvent (\fBQResizeEvent\fP *)\fC [protected]\fP"
.PP
used when widget is resized Definition at line 34 of file ksqueezedtextlabel.cpp.
.PP
References squeezeTextToLabel().
.SS "void KSqueezedTextLabel::squeezeTextToLabel ()\fC [protected]\fP"
.PP
does the dirty work Definition at line 50 of file ksqueezedtextlabel.cpp.
.PP
References QToolTip::add(), QToolTip::hide(), QString::left(), QString::length(), QToolTip::remove(), QString::right(), QLabel::setText(), and QFontMetrics::width().
.PP
Referenced by resizeEvent().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
