• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

KStyle::ComboBox

KStyle::ComboBox Struct Reference
[KStyle widget representation]

#include <kstyle.h>

List of all members.


Detailed Description

Describes a widget like QComboBox.

Definition at line 1094 of file kstyle.h.


Public Types

enum  LayoutProp {
  FrameWidth, ButtonWidth, ButtonMargin, FocusMargin = ButtonMargin + MarginInc,
  SupportFrameless = FocusMargin + MarginInc, ContentsMargin
}
enum  Primitive { EditField, Button }

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 1107 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 1132 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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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