KDEUI
KStyle::Menu Struct Reference
[KStyle widget representation]
Describes a menu. More...
#include <kstyle.h>
Public Types | |
enum | LayoutProp { FrameWidth, Margin, ScrollerHeight = Margin + MarginInc, TearOffHeight } |
enum | Primitive { Background, TearOff, Scroller } |
Detailed Description
Describes a menu.
- See also:
- WT_Menu
Definition at line 780 of file kstyle.h.
Member Enumeration Documentation
- See also:
- setWidgetLayoutProp()
- Enumerator:
FrameWidth (1) The width of the frame, note that this does not affect the layout.
Margin (3) The margin of the menu.
- Todo:
- have a look at comments at PM_MenuHMargin...
ScrollerHeight (10) Height of a menu scroller. [sets QStyle::PM_MenuScrollerHeight]
TearOffHeight (10) Height of the TearOff area. [sets QStyle::PM_MenuTearoffHeight]
Relevant Generic elements:
Generic::Frame
frame around the menu panel.
- See also:
- drawKStylePrimitive()
- Enumerator:
Background TearOff paints the area where a menu can be teared off [implements QStyle::CE_MenuTearoff]
Scroller scrolling areas in a QMenu [implements QStyle::CE_MenuScroller]
The documentation for this struct was generated from the following file: