KDELibs4Support

K4Style::ProgressBar Struct Reference

#include <k4style.h>

Public Types

enum  LayoutProp {
  GrooveMargin, SideText = GrooveMargin + MarginInc, SideTextSpace, Precision,
  BusyIndicatorSize, MaxBusyIndicatorSize
}
 
enum  Primitive { Groove, Indicator, BusyIndicator }
 

Detailed Description

Describes widgets like QProgressBar.

Todo:
support for Qt > 4.1 orientation, bottomToTop, invertedAppearance properties!
See also
WT_ProgressBar

Definition at line 654 of file k4style.h.

Member Enumeration Documentation

See also
setWidgetLayoutProp()
Enumerator
GrooveMargin 

(2) Margin to allocate for the groove. Content area will be inside of it.

SideText 

(false) set this to true to have the text positionned to the side

SideTextSpace 

(3) Extra space besides that needed for text to allocate to side indicator (on both sides).

Precision 

(1) The indicator size will always be a multiple of this (modulo busy indicator size clamping). [sets QStyle::PM_ProgressBarChunkWidth]

BusyIndicatorSize 

(10) The busy indicator size, in percent of area size.

MaxBusyIndicatorSize 

(10000) size limit on the busy indicator size

Definition at line 658 of file k4style.h.

Relevant Generic elements:

See also
drawKStylePrimitive()
Enumerator
Groove 

the progressbar groove, drawn before the progress Indicator [implements QStyle::CE_ProgressBarGroove]

Indicator 

The actual bar indicating the progress...

BusyIndicator 

Used to indicate business, for example when no progress is known (minimum and maximum values both set to 0)

Definition at line 673 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.