QListBoxPixmap(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’– QListBoxPixmap β€” the 3qt manual, but make it make sense πŸ’–

okay bestie so you opened the 3qt man page for QListBoxPixmap and it's giving… a wall of text. don't worry, i got you. this is the whole thing, just with ✨personality✨.


🌸 NAME 🌸

QListBoxPixmap β€” list box items with a pixmap and optional text πŸ–ΌοΈ


✨ SYNOPSIS ✨

#include <qlistbox.h>

Inherits QListBoxItem.

πŸ‘‘ Public Members πŸ‘‘

QListBoxPixmap ( QListBox * listbox, const QPixmap & pixmap )
QListBoxPixmap ( const QPixmap & pixmap )
QListBoxPixmap ( QListBox * listbox, const QPixmap & pixmap,
    QListBoxItem * after )
QListBoxPixmap ( QListBox * listbox, const QPixmap & pix, const QString
    & text )
QListBoxPixmap ( const QPixmap & pix, const QString & text )
QListBoxPixmap ( QListBox * listbox, const QPixmap & pix, const QString
    & text, QListBoxItem * after )
~QListBoxPixmap ()
virtual const QPixmap * pixmap () const
virtual int height ( const QListBox * lb ) const
virtual int width ( const QListBox * lb ) const

🧚 Protected Members 🧚

virtual void paint ( QPainter * painter )

πŸ¦‹ DESCRIPTION πŸ¦‹

The QListBoxPixmap class provides list box items with a pixmap and optional text. literally its whole thing. that's the job. πŸ’…

Items of this class are drawn with the pixmap on the left with the optional text to the right of the pixmap. iconic layout, no notes.

See also QListBox, QListBoxItem, and Advanced Widgets.


πŸ’œ MEMBER FUNCTION DOCUMENTATION πŸ’œ

QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pixmap )

Constructs a new list box item in list box listbox showing the pixmap pixmap. bestie goes in the box, pixmap goes on the item. done. πŸŽ€

QListBoxPixmap::QListBoxPixmap ( const QPixmap & pixmap )

Constructs a new list box item showing the pixmap pixmap. no listbox attached, it's just out here vibing on its own. πŸ¦‹

QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pixmap, QListBoxItem * 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. so if you pass 0 it's main character energy and goes first. periodt. πŸ‘‘

QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pix, const QString & text )

Constructs a new list box item in list box listbox showing the pixmap pix and the text text. pic + caption, the classic. πŸ–ΌοΈβœ¨

QListBoxPixmap::QListBoxPixmap ( const QPixmap & pix, const QString & text )

Constructs a new list box item showing the pixmap pix and the text to text. (yes, the man page literally says "the text to text" and honestly? we respect the commitment to the bit.) 😭

QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pix, const QString & text, QListBoxItem * 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. same rules as before, just with text in the mix. πŸ“

QListBoxPixmap::~QListBoxPixmap ()

Destroys the item. bye bestie, you ate and now you're gone. πŸ’€πŸ«Ά

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

Returns the height of the pixmap in list box lb.

See also paint() and width().

Reimplemented from QListBoxItem.

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

Draws the pixmap using painter.

Reimplemented from QListBoxItem.

const QPixmap * QListBoxPixmap::pixmap () const [virtual]

Returns the pixmap associated with the item. the moment we've all been waiting for. 🌈

Reimplemented from QListBoxItem.

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

Returns the width of the pixmap plus some margin in list box lb. yes, plus some margin. the margin is part of the deal, don't fight it. πŸ’…

See also paint() and height().

Reimplemented from QListBoxItem.


🌟 SEE ALSO 🌟


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. (so if the vibes are a little robotic in places, that's why. not our fault. 🫢)


πŸ™ˆ 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 Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt 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 (qlistboxpixmap.3qt) and the Qt version (3.3.8).

ok so if you're reporting anything, include the page name qlistboxpixmap.3qt AND the Qt version 3.3.8. no gatekeeping, just be specific so they can actually help you. πŸ’–

Trolltech AS Β· 2 February 2007 Β· QListBoxPixmap(3qt)

and that's the whole page bestie!! shoutout to Trolltech AS for dropping this on 2 February 2007, Qt version 3.3.8, filed under QListBoxPixmap(3qt) β€” you understood the assignment, now go make a list box that slays πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from