KDEUI
KStyle::Menu Struct Reference
#include <kstyle.h>
Public Types | |
enum | LayoutProp { FrameWidth, Margin, ScrollerHeight = Margin + MarginInc, TearOffHeight } |
enum | Primitive { Background, TearOff, Scroller } |
Detailed Description
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sun Apr 28 2013 14:26:22 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sun Apr 28 2013 14:26:22 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.