KDELibs4Support

K4Style::MenuBarItem Struct Reference

#include <k4style.h>

Public Types

enum  LayoutProp { Margin, Dummy = Margin + MarginInc }
 
enum  Primitive { Panel }
 

Detailed Description

Describes MenuBar items.

Relevant elements:

Definition at line 714 of file k4style.h.

Member Enumeration Documentation

See also
setWidgetLayoutProp()
Enumerator
Margin 

(1) Margin rectangle to allocate for any bevel, etc.

(Text will be drawn with the inside rect).

Definition at line 718 of file k4style.h.

See also
drawKStylePrimitive()
Enumerator
Panel 

The panel/background of a menubar item. Interesting flags: State_Selected && State_HasFocus for mouseOver, State_Sunken for pressed state.

Definition at line 728 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 Fri Aug 14 2020 22:58:21 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.