• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDEUI

  • KStyle
  • ComboBox
Public Types

KStyle::ComboBox Struct Reference
KStyle widget representation

Describes a widget like QComboBox. More...

#include <kstyle.h>

List of all members.

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 1159 of file kstyle.h.


Member Enumeration Documentation

enum KStyle::ComboBox::LayoutProp
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 1172 of file kstyle.h.

enum KStyle::ComboBox::Primitive

Relevant Generic elements:

  • Generic::Frame for the area around text input field and button
  • Generic::ArrowDown drawn on the button
  • Generic::FocusIndicator to indicate keyboard focus.

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

The button panel of the combobox.

Definition at line 1197 of file kstyle.h.


The documentation for this struct was generated from the following file:
  • kstyle.h

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal