KDEUI
KStyle::Window Struct Reference
[KStyle widget representation]
Describes windows, like in QWorkspace. More...
#include <kstyle.h>
Public Types | |
enum | LayoutProps { TitleTextColor, TitleHeight, NoTitleFrame, TitleMargin, ButtonWidth = TitleMargin + MarginInc, ButtonSpace, ButtonToTextSpace } |
enum | Primitive { TitlePanel, ButtonMenu, ButtonMin, ButtonMax, ButtonRestore, ButtonClose, ButtonShade, ButtonUnshade, ButtonHelp } |
Detailed Description
Describes windows, like in QWorkspace.
- Todo:
- SP_TitleBar* pixmaps
- See also:
- WT_Window
Definition at line 1437 of file kstyle.h.
Member Enumeration Documentation
- See also:
- setWidgetLayoutProp()
- Enumerator:
Relevant Generic elements:
Generic::Text
paints the titlebar text labelGeneric::Frame
indicating an associated sub-menu.
[titlebar elements implement CC_TitleBar]
- See also:
- drawKStylePrimitive()
- Enumerator:
TitlePanel whole titlebar panel/background, by KStyle default it's filled with plain highlight color
ButtonMenu system menu button, passes TitleButtonOption
ButtonMin minimize button, passes TitleButtonOption
ButtonMax maximize button, passes TitleButtonOption
ButtonRestore restore button, passes TitleButtonOption
- Todo:
- split min/max restore?
ButtonClose close button, passes TitleButtonOption
ButtonShade shade button, passes TitleButtonOption
ButtonUnshade button to remove the shade state, passes TitleButtonOption
ButtonHelp context help button, passes TitleButtonOption
The documentation for this struct was generated from the following file: