KDEUI
KStyle::Tree Struct Reference
#include <kstyle.h>
Public Types | |
enum | LayoutProp { MaxExpanderSize } |
enum | Primitive { ExpanderClosed, ExpanderOpen, HorizontalBranch, VerticalBranch } |
Detailed Description
Member Enumeration Documentation
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)
|
- 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.