KDELibs4Support

K4Style::GroupBox Struct Reference

#include <k4style.h>

Public Types

enum  LayoutProps { FrameWidth, TextAlignTop, TitleTextColor }
 
enum  Primitive { FlatFrame }
 

Detailed Description

Describes something like QGroupBox.

Relevant Generic elements:

[the Frames implement QStyle::PE_FrameGroupBox]

See also
Generic::DefaultFrameWidth
WT_GroupBox

Definition at line 1194 of file k4style.h.

Member Enumeration Documentation

See also
setWidgetLayoutProp()
Enumerator
FrameWidth 

(2) width of a groupbox frame

TextAlignTop 

(0) set to non-zero, the title will be aligned above the groupbox frame, not vertically centered [sets QStyle::SH_GroupBox_TextLabelVerticalAlignment]

TitleTextColor 

(ColorMode(QPalette::Text)) color of the title text label

Definition at line 1198 of file k4style.h.

See also
drawKStylePrimitive()
Enumerator
FlatFrame 

For groupboxes which are set to be 'flat' (usually a divider line from top left to top right).

K4Style has a basic default implementation

Definition at line 1208 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 Thu Aug 13 2020 22:58:31 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.