Eneboo - Documentación para desarrolladores
|
Métodos públicos | |
MCItem (QListBox *, QListViewItem *item) | |
MCItem (QListBox *, QListViewItem *item, QListBoxItem *after) | |
QString | text () const |
const QPixmap * | pixmap () const |
int | height (const QListBox *) const |
int | width (const QListBox *) const |
void | paint (QPainter *) |
Atributos públicos | |
QListViewItem * | i |
QFileDialogPrivate::MCItem::MCItem | ( | QListBox * | lb, |
QListViewItem * | item | ||
) |
QFileDialogPrivate::MCItem::MCItem | ( | QListBox * | lb, |
QListViewItem * | item, | ||
QListBoxItem * | after | ||
) |
Implement this function to return the height of your item. The lb parameter is the same as listBox() and is provided for convenience and compatibility.
The default implementation returns {QApplication::globalStrut()}'s height.
Reimplementado de QListBoxItem.
void QFileDialogPrivate::MCItem::paint | ( | QPainter * | p | ) | [virtual] |
Implement this function to draw your item. The painter, p, is already open for painting.
Implementa QListBoxItem.
const QPixmap * QFileDialogPrivate::MCItem::pixmap | ( | ) | const [virtual] |
Returns the pixmap associated with the item, or 0 if there isn't one.
The default implementation returns 0.
Reimplementado de QListBoxItem.
QString QFileDialogPrivate::MCItem::text | ( | ) | const [virtual] |
Returns the text of the item. This text is also used for sorting.
Reimplementado de QListBoxItem.
Reimplement this function to return the width of your item. The lb parameter is the same as listBox() and is provided for convenience and compatibility.
The default implementation returns {QApplication::globalStrut()}'s width.
Reimplementado de QListBoxItem.