1QListBoxText(3qt)                                            QListBoxText(3qt)
2
3
4

NAME

6       QListBoxText - List box items that display text
7

SYNOPSIS

9       #include <qlistbox.h>
10
11       Inherits QListBoxItem.
12
13   Public Members
14       QListBoxText ( QListBox * listbox, const QString & text = QString::null
15           )
16       QListBoxText ( const QString & text = QString::null )
17       QListBoxText ( QListBox * listbox, const QString & text, QListBoxItem *
18           after )
19       ~QListBoxText ()
20       virtual int height ( const QListBox * lb ) const
21       virtual int width ( const QListBox * lb ) const
22
23   Protected Members
24       virtual void paint ( QPainter * painter )
25

DESCRIPTION

27       The QListBoxText class provides list box items that display text.
28
29       The text is drawn in the widget's current font. If you need several
30       different fonts, you must implement your own subclass of QListBoxItem.
31
32       See also QListBox, QListBoxItem, and Advanced Widgets.
33

MEMBER FUNCTION DOCUMENTATION

QListBoxText::QListBoxText ( QListBox * listbox, const QString & text =

36       QString::null )
37       Constructs a list box item in list box listbox showing the text text.
38

QListBoxText::QListBoxText ( const QString & text = QString::null )

40       Constructs a list box item showing the text text.
41

QListBoxText::QListBoxText ( QListBox * listbox, const QString & text,

43       QListBoxItem * after )
44       Constructs a list box item in list box listbox showing the text text.
45       The item is inserted after the item after, or at the beginning if after
46       is 0.
47

QListBoxText::~QListBoxText ()

49       Destroys the item.
50

int QListBoxText::height ( const QListBox * lb ) const [virtual]

52       Returns the height of a line of text in list box lb.
53
54       See also paint() and width().
55
56       Reimplemented from QListBoxItem.
57

void QListBoxText::paint ( QPainter * painter ) [virtual protected]

59       Draws the text using painter.
60
61       Reimplemented from QListBoxItem.
62

int QListBoxText::width ( const QListBox * lb ) const [virtual]

64       Returns the width of this line in list box lb.
65
66       See also paint() and height().
67
68       Reimplemented from QListBoxItem.
69
70

SEE ALSO

72       http://doc.trolltech.com/qlistboxtext.html
73       http://www.trolltech.com/faq/tech.html
74
76       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
77       license file included in the distribution for a complete license
78       statement.
79

AUTHOR

81       Generated automatically from the source code.
82

BUGS

84       If you find a bug in Qt, please report it as described in
85       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
86       help you. Thank you.
87
88       The definitive Qt documentation is provided in HTML format; it is
89       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
90       web browser. This man page is provided as a convenience for those users
91       who prefer man pages, although this format is not officially supported
92       by Trolltech.
93
94       If you find errors in this manual page, please report them to qt-
95       bugs@trolltech.com.  Please include the name of the manual page
96       (qlistboxtext.3qt) and the Qt version (3.3.8).
97
98
99
100Trolltech AS                    2 February 2007              QListBoxText(3qt)
Impressum