|
|
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, const char *name = 0 )
| KSqueezedTextLabel |
Default constructor.
KSqueezedTextLabel ( const QString &text, QWidget *parent, const char *name = 0 )
| KSqueezedTextLabel |
QSize minimumSizeHint ()
| minimumSizeHint |
[const virtual]
void setText ( const QString & )
| setText |
[slot]
void resizeEvent ( QResizeEvent * )
| resizeEvent |
[protected]
used when widget is resized
void squeezeTextToLabel ()
| squeezeTextToLabel |
[protected]
does the dirty work
QString fullText | fullText |
[protected]
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]