• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

  • kdeui
ksqueezedtextlabel.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000 Ronny Standtke <Ronny.Standtke@gmx.de>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef KSQUEEZEDTEXTLABEL_H
20 #define KSQUEEZEDTEXTLABEL_H
21 
22 #include <tqlabel.h>
23 
24 #include <kdelibs_export.h>
25 
43 /*
44  * QLabel
45  */
46 class KDEUI_EXPORT KSqueezedTextLabel : public TQLabel {
47  Q_OBJECT
48 
49 public:
53  KSqueezedTextLabel( TQWidget *parent, const char *name = 0 );
54  KSqueezedTextLabel( const TQString &text, TQWidget *parent, const char *name = 0 );
55 
56  virtual TQSize minimumSizeHint() const;
57  virtual TQSize sizeHint() const;
61  virtual void setAlignment( int );
62 
63 public slots:
64  void setText( const TQString & );
65 
66 protected:
70  void resizeEvent( TQResizeEvent * );
74  void squeezeTextToLabel();
75  TQString fullText;
76 
77 protected:
78  virtual void virtual_hook( int id, void* data );
79 private:
80  class KSqueezedTextLabelPrivate;
81  KSqueezedTextLabelPrivate *d;
82 };
83 
84 #endif // KSQUEEZEDTEXTLABEL_H

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |