TQListBoxPixmap(3qt)

NAME
TQListBoxPixmap - List box items with a pixmap and optional text

SYNOPSIS
#include <tqlistbox.h>

Inherits TQListBoxItem.

  Public Members
TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pixmap )
TQListBoxPixmap ( const TQPixmap & pixmap )
TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pixmap, TQListBoxItem * after )
TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pix, const TQString & text )
TQListBoxPixmap ( const TQPixmap & pix, const TQString & text )
TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pix, const TQString & text, TQListBoxItem * after )
~TQListBoxPixmap ()
virtual const TQPixmap * pixmap () const
virtual int height ( const TQListBox * lb ) const
virtual int width ( const TQListBox * lb ) const

  Protected Members
virtual void paint ( TQPainter * painter )

DESCRIPTION
The TQListBoxPixmap class provides list box items with a pixmap and optional text.

Items of this class are drawn with the pixmap on the left with the optional text to the right of the pixmap.

See also TQListBox, TQListBoxItem, and Advanced Widgets.

MEMBER FUNCTION DOCUMENTATION

TQListBoxPixmap::TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pixmap )
Constructs a new list box item in list box listbox showing the pixmap pixmap.

TQListBoxPixmap::TQListBoxPixmap ( const TQPixmap & pixmap )
Constructs a new list box item showing the pixmap pixmap.

TQListBoxPixmap::TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pixmap, TQListBoxItem * after )
Constructs a new list box item in list box listbox showing the pixmap pixmap. The item gets inserted after the item after, or at the beginning if after is 0.

TQListBoxPixmap::TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pix, const TQString & text )
Constructs a new list box item in list box listbox showing the pixmap pix and the text text.

TQListBoxPixmap::TQListBoxPixmap ( const TQPixmap & pix, const TQString & text )
Constructs a new list box item showing the pixmap pix and the text to text.

TQListBoxPixmap::TQListBoxPixmap ( TQListBox * listbox, const TQPixmap & pix, const TQString & text, TQListBoxItem * after )
Constructs a new list box item in list box listbox showing the pixmap pix and the string text. The item gets inserted after the item after, or at the beginning if after is 0.

TQListBoxPixmap::~TQListBoxPixmap ()
Destroys the item.

int TQListBoxPixmap::height ( const TQListBox * lb ) const [virtual]
Returns the height of the pixmap in list box lb.

See also paint() and width().

Reimplemented from TQListBoxItem.

void TQListBoxPixmap::paint ( TQPainter * painter ) [virtual protected]
Draws the pixmap using painter.

Reimplemented from TQListBoxItem.

const TQPixmap * TQListBoxPixmap::pixmap () const [virtual]
Returns the pixmap associated with the item.

Reimplemented from TQListBoxItem.

int TQListBoxPixmap::width ( const TQListBox * lb ) const [virtual]
Returns the width of the pixmap plus some margin in list box lb.

See also paint() and height().

Reimplemented from TQListBoxItem.

SEE ALSO
http://doc.trolltech.com/tqlistboxpixmap.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.

BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

The definitive TQt documentation is provided in HTML format; it is located at $TQTDIR/doc/html and can be read using TQt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (tqlistboxpixmap.3qt) and the Qt version (3.3.8).