Definition at line 435 of file qstyleoption.h.
#include <qstyleoption.h>

Public Types |
|
| enum | StyleOptionType { Type = SO_MenuItem } |
| enum | StyleOptionVersion { Version = 1 } |
| enum |
MenuItemType { Normal, DefaultItem, Separator, SubMenu, Scroller, TearOff, Margin, EmptyArea } |
| enum | CheckType { NotCheckable, Exclusive, NonExclusive } |
Public Member Functions |
|
| QStyleOptionMenuItem () | |
| QStyleOptionMenuItem (const QStyleOptionMenuItem &other) | |
Public Attributes |
|
| MenuItemType | menuItemType |
| CheckType | checkType |
| bool | checked |
| bool | menuHasCheckableItems |
| QRect | menuRect |
| QString | text |
| QIcon | icon |
| int | maxIconWidth |
| int | tabWidth |
| QFont | font |
Protected Member Functions |
|
| QStyleOptionMenuItem (int version) | |
| enum StyleOptionType |
Reimplemented from QStyleOption.
Definition at line 438 of file qstyleoption.h.
{ Type = SO_MenuItem };
| enum StyleOptionVersion |
| enum MenuItemType |
Definition at line 441 of file qstyleoption.h.
| enum CheckType |
Definition at line 443 of file qstyleoption.h.
{ NotCheckable, Exclusive, NonExclusive };
| QStyleOptionMenuItem | ( | const QStyleOptionMenuItem & | other | ) | [inline] |
Definition at line 457 of file qstyleoption.h.
: QStyleOption(Version, Type) { *this = other; }
| QStyleOptionMenuItem | ( | int | version | ) | [protected] |
Definition at line 445 of file qstyleoption.h.
Definition at line 446 of file qstyleoption.h.
| bool checked |
Definition at line 447 of file qstyleoption.h.
Definition at line 448 of file qstyleoption.h.
Definition at line 449 of file qstyleoption.h.
Definition at line 450 of file qstyleoption.h.
Definition at line 451 of file qstyleoption.h.
| int maxIconWidth |
Definition at line 452 of file qstyleoption.h.
| int tabWidth |
Definition at line 453 of file qstyleoption.h.
Definition at line 454 of file qstyleoption.h.