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

KDEUI

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

#include <kstyle.h>

Public Types

enum  LayoutProp { ContentsMargin, TextToIconSpace = ContentsMargin + MarginInc, MarkSize }
 
enum  Primitive { SectionHor, SectionVert }
 

Detailed Description

Describes a list header, like in QListView.

See also
WT_Header

Definition at line 1209 of file kstyle.h.

Member Enumeration Documentation

enum KStyle::Header::LayoutProp
See also
setWidgetLayoutProp()
Enumerator
ContentsMargin 

(3) margin around contents used to size the header.

TextToIconSpace 

(3) space that is allocated between icon and text if both exist [sets QStyle::PM_HeaderMargin]

MarkSize 

(9) size of the sort indicator in a header [sets QStyle::PM_HeaderMarkSize]

Definition at line 1214 of file kstyle.h.

enum KStyle::Header::Primitive

Relevant Generic elements:

  • Generic::Text for the header text label
  • Generic::ArrowUp Generic::ArrowDown to indicate the sorting of the column

[the Sections implement QStyle::CE_HeaderSection]

Enumerator
SectionHor 

header section, horizontal

SectionVert 

header section, vertical

Definition at line 1232 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