KDEUI
#include <kstyle.h>
Public Types | |
enum | LayoutProp { DoubleTopButton , DoubleBotButton , SingleButtonHeight , DoubleButtonHeight , BarWidth , MinimumSliderHeight , ArrowColor , ActiveArrowColor } |
enum | Primitive { SingleButtonVert , SingleButtonHor , DoubleButtonVert , DoubleButtonHor , GrooveAreaVertBottom , GrooveAreaHorRight , GrooveAreaVertTop , GrooveAreaHorLeft , SliderVert , SliderHor } |
Detailed Description
Member Enumeration Documentation
◆ LayoutProp
- 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
|
ArrowColor | (ColorMode(ColorMode::BWAutoContrastMode, QPalette::Button)) color mode of a button arrow
|
ActiveArrowColor | (ColorMode(ColorMode::BWAutoContrastMode, QPalette::ButtonText)) color mode of a pressed button arrow (?) |
◆ Primitive
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 | scrollbar groove area, vertical. An interesting flag is
|
GrooveAreaHorRight | scrollbar groove area, horizontal. Flags: |
GrooveAreaVertTop | scrollbar groove area, vertical. An interesting flag is |
GrooveAreaHorLeft | scrollbar groove area, horizontal. Flags: |
SliderVert | scrollbar slider, vertical. Flags: |
SliderHor | scrollbar slider, horizontal. Flags: |
The documentation for this struct was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.