KDEUI
KStyle::ComboBox Struct Reference
#include <kstyle.h>
Public Types | |
| enum | LayoutProp { FrameWidth, ButtonWidth, ButtonMargin, FocusMargin = ButtonMargin + MarginInc, SupportFrameless = FocusMargin + MarginInc, ContentsMargin } |
| enum | Primitive { EditField, Button } |
Detailed Description
Member Enumeration Documentation
- Note
- The description applies to LTR (left to right) mode.
FrameWidthandButtonWidthare used to size the contents area. To the EditField,FrameWidthis added at the left, top, bottom whileButtonWidthis added at the right.- The
ButtonMarginis measured from the right side of the EditField and the outside. Inside it, the button is aligned. - The
FocusMarginis measured from the EditField rect.
| Enumerator | |
|---|---|
| FrameWidth |
(1)
|
| ButtonWidth |
(16)
|
| ButtonMargin |
(MainMargin 0, Right Top Bot 1)
|
| FocusMargin |
(1) Focus margin for ComboBoxes that aren't editable, measured from the EditField rect |
| SupportFrameless |
(0)
|
| ContentsMargin |
(5) space between the bevel and the combobox contents |
Relevant Generic elements:
Generic::Framefor the area around text input field and buttonGeneric::ArrowDowndrawn on the buttonGeneric::FocusIndicatorto indicate keyboard focus
- See also
- drawKStylePrimitive()
| Enumerator | |
|---|---|
| EditField |
|
| Button |
The button panel of the combobox. |
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference