KDELibs4Support

#include <k4style.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 738 of file k4style.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]

Definition at line 742 of file k4style.h.

Relevant Generic elements:

See also
drawKStylePrimitive()
Enumerator
Background 

Menu and MenuItem 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]

Definition at line 755 of file k4style.h.


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 Wed Aug 5 2020 22:56:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.