KDEUI
KStyle::CheckBox Struct Reference
[KStyle widget representation]
#include <kstyle.h>
Detailed Description
Describes widgets like QCheckBox.
- See also:
- WT_CheckBox
Definition at line 509 of file kstyle.h.
Public Types | |
enum | LayoutProp { Size, BoxTextSpace, NoLabelFocusMargin, FocusMargin = NoLabelFocusMargin + MarginInc } |
enum | Primitive { CheckOn, CheckOff, CheckTriState } |
Member Enumeration Documentation
- See also:
- setWidgetLayoutProp()
- Enumerator:
-
Size (16) size of the checkbox [sets PM_IndicatorWidth, PM_IndicatorHeight] BoxTextSpace (6) space to leave between checkbox and text (and icon between them in case there is one) NoLabelFocusMargin (1) rectangle to apply to the checkbox rectangle to get where to paint the focus rectangle in case of a labelless checkbox FocusMargin (0) margin around the checkbox contents reserved for the focus rect - Todo:
- have a look, it isn't as nice as plastique etc.
Relevant elements:
Generic::Text
the CheckBox label alongside the CheckBoxGeneric::FocusIndicator
the focus indicator.
Usually drawn around the text label. If no label exists, it is drawn around the CheckBox.
[check primitives implement QStyle::PE_IndicatorCheckBox] [KStyle implements QStyle::CE_CheckBox to compose a CheckBox using the mentioned primitives]
- See also:
- drawKStylePrimitive()
The documentation for this struct was generated from the following file: