• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kcachegrind

Public Types | Public Member Functions | List of all members
DrawParams Class Referenceabstract

#include <treemap.h>

Inheritance diagram for DrawParams:
Inheritance graph
[legend]

Public Types

enum  Position {
  TopLeft, TopCenter, TopRight, BottomLeft,
  BottomCenter, BottomRight, Default, Unknown
}
 

Public Member Functions

virtual ~DrawParams ()
 
virtual QColor backColor () const
 
virtual bool current () const
 
virtual bool drawFrame () const
 
virtual int fieldCount () const
 
virtual const QFont & font () const =0
 
virtual int maxLines (int) const
 
virtual QPixmap pixmap (int) const =0
 
virtual Position position (int) const =0
 
virtual bool rotated () const
 
virtual bool selected () const
 
virtual bool shaded () const
 
virtual QString text (int) const =0
 

Detailed Description

Drawing parameters for an object.

A Helper Interface for RectDrawing.

Definition at line 54 of file treemap.h.

Member Enumeration Documentation

enum DrawParams::Position

Positions for drawing into a rectangle.

The specified position assumes no rotation. If there is more than one text for one position, it is put nearer to the center of the item.

Drawing at top positions cuts free space from top, drawing at bottom positions cuts from bottom. Default usually gives positions clockwise according to field number.

Enumerator
TopLeft 
TopCenter 
TopRight 
BottomLeft 
BottomCenter 
BottomRight 
Default 
Unknown 

Definition at line 68 of file treemap.h.

Constructor & Destructor Documentation

virtual DrawParams::~DrawParams ( )
inlinevirtual

Definition at line 73 of file treemap.h.

Member Function Documentation

virtual QColor DrawParams::backColor ( ) const
inlinevirtual

Reimplemented in CallMapCallerItem, SubPartItem, CallMapCallingItem, StoredDrawParams, PartItem, CallMapBaseItem, and BasePartItem.

Definition at line 82 of file treemap.h.

virtual bool DrawParams::current ( ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 86 of file treemap.h.

virtual bool DrawParams::drawFrame ( ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 89 of file treemap.h.

virtual int DrawParams::fieldCount ( ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 80 of file treemap.h.

virtual const QFont& DrawParams::font ( ) const
pure virtual

Implemented in TreeMapItem, and StoredDrawParams.

virtual int DrawParams::maxLines ( int  ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 79 of file treemap.h.

virtual QPixmap DrawParams::pixmap ( int  ) const
pure virtual

Implemented in CallMapCallerItem, SubPartItem, CallMapCallingItem, StoredDrawParams, PartItem, and CallMapBaseItem.

virtual Position DrawParams::position ( int  ) const
pure virtual

Implemented in TreeMapItem, and StoredDrawParams.

virtual bool DrawParams::rotated ( ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 88 of file treemap.h.

virtual bool DrawParams::selected ( ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 85 of file treemap.h.

virtual bool DrawParams::shaded ( ) const
inlinevirtual

Reimplemented in StoredDrawParams.

Definition at line 87 of file treemap.h.

virtual QString DrawParams::text ( int  ) const
pure virtual

Implemented in CallMapCallerItem, SubPartItem, CallMapCallingItem, StoredDrawParams, PartItem, CallMapBaseItem, and BasePartItem.


The documentation for this class was generated from the following file:
  • treemap.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal