KDELibs4Support

K4Style::ComboBox Struct Reference

#include <k4style.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 1091 of file k4style.h.

Member Enumeration Documentation

Note
The description applies to LTR (left to right) mode.
  1. FrameWidth and ButtonWidth are used to size the contents area. To the EditField, FrameWidth is added at the left, top, bottom while ButtonWidth is added at the right.
  2. The ButtonMargin is measured from the right side of the EditField and the outside. Inside it, the button is aligned.
  3. 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

Definition at line 1103 of file k4style.h.

Relevant Generic elements:

See also
drawKStylePrimitive()
Enumerator
EditField 
See also
SpinBox::EditField
Button 

The button panel of the combobox.

Definition at line 1127 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 Sat Jul 11 2020 22:58:06 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.