KDEUI
KStyle::Tree Struct Reference
#include <kstyle.h>
Public Types | |
enum | LayoutProp { MaxExpanderSize } |
enum | Primitive { ExpanderClosed , ExpanderOpen , HorizontalBranch , VerticalBranch } |
Detailed Description
Member Enumeration Documentation
◆ LayoutProp
For trees, all the control we provide here is to provide a cap on the size of the expander widget, which is always square.
There are 4 primitives to implement: open and closed expander, and horizontal and vertical lines. If you're using dots, it's suggested you use global brush alignment to keep it all nicely aligned.
- See also
- setWidgetLayoutProp()
Enumerator | |
---|---|
MaxExpanderSize | (9)
|
◆ Primitive
- See also
- drawKStylePrimitive()
Enumerator | |
---|---|
ExpanderClosed | A closed tree expander, usually drawn as '+'. KStyle has a default implementation (Windows-like look). |
ExpanderOpen | An opened tree expander, usually drawn as '-' KStyle has a default implementation. |
HorizontalBranch | A horizontal tree line.
|
VerticalBranch |
|
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
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
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.