KDEUI
#include <kstyle.h>
Public Types | |
enum | LayoutProp { DefaultFrameWidth , DefaultLayoutSpacing , DefaultLayoutMargin } |
enum | Primitive { Text = 0xFFFF , Icon , FocusIndicator , Frame , ArrowUp , ArrowDown , ArrowRight , ArrowLeft } |
Detailed Description
Basic primitive drawing operations.
Are intended to be used in every WidgetType combination.
Member Enumeration Documentation
◆ LayoutProp
Layout properties.
These can be set with setWidgetLayoutProp() Generic LayoutProps contain a few properties which are not directly related to a specific widget type.
Enumerator | |
---|---|
DefaultFrameWidth | The FrameWidth used by LineEdit, etc..., default is 2 [sets QStyle::PM_DefaultFrameWidth]. |
DefaultLayoutSpacing | The spacing used by layouts, unless the style implements layoutSpacingImplementation(), default is 6 [sets QStyle::PM_DefaultLayoutSpacing]. |
DefaultLayoutMargin | The margin used by layouts, default is 9 [sets QStyle::PM_DefaultChildMargin and QStyle::PM_DefaultTopLevelMargin]. |
◆ Primitive
Primitive drawing operations.
- Note
- The arrows are centering primitives, which means they draw in the center of the specified rectangle.
Enumerator | |
---|---|
Text | Passes in TextOption. |
Icon | Passes in IconOption. |
FocusIndicator | Indication that this widget has focus. |
Frame | Frame around widget.
|
ArrowUp | Up arrow (pointing up) |
ArrowDown | Down arrow. |
ArrowRight | Right arrow. |
ArrowLeft | Left arrow. |
The documentation for this struct was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.