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

KDEUI

  • KStyle
  • CheckBox
Public Types | List of all members
KStyle::CheckBox Struct Reference
KStyle widget representation

#include <kstyle.h>

Public Types

enum  LayoutProp { Size, BoxTextSpace, NoLabelFocusMargin, FocusMargin = NoLabelFocusMargin + MarginInc }
 
enum  Primitive { CheckOn, CheckOff, CheckTriState }
 

Detailed Description

Describes widgets like QCheckBox.

See also
WT_CheckBox

Definition at line 574 of file kstyle.h.

Member Enumeration Documentation

enum KStyle::CheckBox::LayoutProp
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.

Definition at line 579 of file kstyle.h.

enum KStyle::CheckBox::Primitive

Relevant elements:

  • Generic::Text the CheckBox label alongside the CheckBox
  • Generic::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()
Enumerator
CheckOn 

checkbox which is checked

CheckOff 

checkbox which is not checked

CheckTriState 

tristate checkbox (neither off nor on)

Definition at line 601 of file kstyle.h.


The documentation for this struct was generated from the following file:
  • kstyle.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal