KDEUI
KStyle::ScrollBar Struct Reference
[KStyle widget representation]
#include <kstyle.h>
Detailed Description
Describes widgets like QScrollBar.
- See also:
- WT_ScrollBar
Definition at line 817 of file kstyle.h.
Member Enumeration Documentation
- Note:
- Dimensions of LayoutProperties are generally specified with respect to the vertical scrollbar.
Of course, for horizontal ones they're flipped.
- See also:
- setWidgetLayoutProp()
- Enumerator:
-
DoubleTopButton (0) set to non-zero to have two buttons on top DoubleBotButton (1) set to non-zero to have two buttons on bottom SingleButtonHeight (16) height of a single button DoubleButtonHeight (32) height of a double button BarWidth (16) width of a scrollbar [sets QStyle::PM_ScrollBarExtent] MinimumSliderHeight (0 ?) the minimum slider height - Note:
- If the scrollbar is too small to accommodate this, this will not be enforced.
ArrowColor (ColorMode(ColorMode::BWAutoContrastMode, QPalette::Button)) color mode of a button arrow - See also:
- ColorMode
ActiveArrowColor (ColorMode(ColorMode::BWAutoContrastMode, QPalette::ButtonText)) color mode of a pressed button arrow (?)
Relevant Generic elements:
- The
Generic
arrows.
[Groove Areas implement QStyle::CE_ScrollBarAddPage and QStyle::CE_ScrollBarSubPage] [Sliders implement QStyle::CE_ScrollBarSlider]
- See also:
- drawKStylePrimitive()
- Enumerator:
-
SingleButtonVert used to draw a 1-button bevel, vertical SingleButtonHor used to draw a 1-button bevel, horizontal DoubleButtonVert Used to draw a 2-button bevel, vertical. A DoubleButtonOption is passed to say which button is pressed.
DoubleButtonHor GrooveAreaVertBottom - See also:
- DoubleButtonVert
scrollbar groove area, vertical. An interesting flag is
State_Sunken
for pressed stateGrooveAreaHorRight scrollbar groove area, horizontal. Flags: State_Sunken
for pressed stateGrooveAreaVertTop scrollbar groove area, vertical. An interesting flag is State_Sunken
for pressed stateGrooveAreaHorLeft scrollbar groove area, horizontal. Flags: State_Sunken
for pressed stateSliderVert scrollbar slider, vertical. Flags: State_On&&State_Sunken
for pressed stateSliderHor scrollbar slider, horizontal. Flags: State_On&&State_Sunken
for pressed state
The documentation for this struct was generated from the following file: