Eneboo - Documentación para desarrolladores
|
Métodos públicos | |
QComboBoxPopupItem (QListBoxItem *i) | |
virtual bool | fullSpan () const |
virtual void | paint (QPainter *, const QColorGroup &, bool, bool, int, int, int, int) |
virtual QSize | sizeHint () |
QComboBoxPopupItem::QComboBoxPopupItem | ( | QListBoxItem * | i | ) | [inline] |
virtual bool QComboBoxPopupItem::fullSpan | ( | ) | const [inline, virtual] |
Returns TRUE if this item wants to span the entire popup menu width; otherwise returns FALSE. The default is FALSE, meaning that the menu may show an icon and an accelerator key for this item as well.
Reimplementado de QCustomMenuItem.
void QComboBoxPopupItem::paint | ( | QPainter * | p, |
const QColorGroup & | cg, | ||
bool | act, | ||
bool | enabled, | ||
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) | [virtual] |
Paints this item. When this function is invoked, the painter p is set to a font and foreground color suitable for a menu item text using color group cg. The item is active if act is TRUE and enabled if enabled is TRUE. The geometry values x, y, w and h specify where to draw the item.
Do not draw any background, this has already been done by the popup menu according to the current GUI style.
Implementa QCustomMenuItem.
virtual QSize QComboBoxPopupItem::sizeHint | ( | ) | [inline, virtual] |
Returns the item's size hint.
Implementa QCustomMenuItem.