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()
- 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.
- Note:
- If you're using dots, it's suggested you use global brush alignment to keep it all nicely aligned.
VerticalBranch - See also:
- HorizontalBranch
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:34:24 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:34:24 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.