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

KDEUI

KStyle::ProgressBar

KStyle::ProgressBar Struct Reference
[KStyle widget representation]

Describes widgets like QProgressBar. More...

#include <kstyle.h>

List of all members.

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 685 of file kstyle.h.


Member Enumeration Documentation

enum KStyle::ProgressBar::LayoutProp
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 690 of file kstyle.h.

enum KStyle::ProgressBar::Primitive

Relevant Generic elements:

  • Generic::Text the progress label.

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 706 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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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