KDEUI
KStyle::ComboBox Struct Reference
[KStyle widget representation]
Describes a widget like QComboBox. More...
#include <kstyle.h>
Public Types | |
enum | LayoutProp { FrameWidth, ButtonWidth, ButtonMargin, FocusMargin = ButtonMargin + MarginInc, SupportFrameless = FocusMargin + MarginInc, ContentsMargin } |
enum | Primitive { EditField, Button } |
Detailed Description
Describes a widget like QComboBox.
Definition at line 1158 of file kstyle.h.
Member Enumeration Documentation
- Note:
- The description applies to LTR (left to right) mode.
FrameWidth
andButtonWidth
are used to size the contents area. To the EditField,FrameWidth
is added at the left, top, bottom whileButtonWidth
is added at the right.- The
ButtonMargin
is measured from the right side of the EditField and the outside. Inside it, the button is aligned. - The
FocusMargin
is measured from the EditField rect.
- Enumerator:
FrameWidth (1)
- See also:
- SpinBox::FrameWidth
ButtonWidth (16)
- See also:
- SpinBox::ButtonWidth
ButtonMargin (MainMargin 0, Right Top Bot 1)
- See also:
- SpinBox::ButtonMargin
FocusMargin (1) Focus margin for ComboBoxes that aren't editable, measured from the EditField rect
SupportFrameless (0)
- See also:
- LP_SpinBox_SupportFrameless same description applies here
ContentsMargin (5) space between the bevel and the combobox contents
Relevant Generic elements:
Generic::Frame
for the area around text input field and buttonGeneric::ArrowDown
drawn on the buttonGeneric::FocusIndicator
to indicate keyboard focus.
- See also:
- drawKStylePrimitive()
- Enumerator:
EditField - See also:
- SpinBox::EditField
Button The button panel of the combobox.
The documentation for this struct was generated from the following file: