KDELibs4Support

K4Style::DockWidget Struct Reference

#include <k4style.h>

Public Types

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

Detailed Description

Describes the title of a dock widget.

See also
WT_DockWidget

Definition at line 621 of file k4style.h.

Member Enumeration Documentation

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 625 of file k4style.h.

Relevant Generic elements:

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

See also
drawKStylePrimitive()
Enumerator
TitlePanel 

the panel/background of the title bar

SeparatorHandle 

the splitter between dockwidgets

Definition at line 641 of file k4style.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 5 2020 22:56:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.