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.
|
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.