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

KDEUI

KStyle::DockWidget

KStyle::DockWidget Struct Reference
[KStyle widget representation]

#include <kstyle.h>

List of all members.


Detailed Description

Describes the title of a dock widget.

See also:
WT_DockWidget

Definition at line 585 of file kstyle.h.


Public Types

enum  LayoutProp { TitleTextColor, TitleMargin, FrameWidth = TitleMargin + MarginInc, SeparatorExtent }
enum  Primitive { TitlePanel, SeparatorHandle }

Member Enumeration Documentation

enum KStyle::DockWidget::LayoutProp

See also:
setWidgetLayoutProp()

Enumerator:
TitleTextColor  (ColorMode(QPalette::HighlightedText)) color mode of the title text
TitleMargin  (2) Margin around title contents: Note that the symmetric margin (MainMargin) is used to size the title! Additional the Left and Right margins can be used to position the title text a little, though (to set Top and Bottom is not advisable). [the MainMargin sets QStyle::PM_DockWidgetTitleMargin]
FrameWidth  (3) width of the frame around floating dockwidgets [sets QStyle::PM_DockWidgetFrameWidth]
SeparatorExtent  (6) width of the area which separates the (docked) dock window from the window contents [sets QStyle::PM_DockWidgetSeparatorExtent]

Definition at line 590 of file kstyle.h.

enum KStyle::DockWidget::Primitive

Relevant Generic elements:

  • Generic::Text the title text
  • Generic::Frame the frame around floating dockwidgets.

[KStyle implements QStyle::CE_DockWidgetTitle to split it into KStyle primitives]

See also:
drawKStylePrimitive()
Enumerator:
TitlePanel  the panel/background of the title bar
SeparatorHandle  the splitter between dockwidgets

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