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
◆ LayoutProp
- 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] |
◆ Primitive
Relevant Generic elements:
Generic::Frameframe 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-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.