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

kcachegrind

Public Member Functions | List of all members
SubPartItem Class Reference

#include <partgraph.h>

Inheritance diagram for SubPartItem:
Inheritance graph
[legend]

Public Member Functions

 SubPartItem (ProfileCostArray *)
 
QColor backColor () const
 
TreeMapItemList * children ()
 
ProfileCostArray * partCostItem ()
 
QPixmap pixmap (int) const
 
int rtti () const
 
SplitMode splitMode () const
 
double sum () const
 
QString text (int) const
 
double value () const
 
- Public Member Functions inherited from TreeMapItem
 TreeMapItem (TreeMapItem *parent=0, double value=1.0)
 
 TreeMapItem (TreeMapItem *parent, double value, const QString &text1, const QString &text2=QString(), const QString &text3=QString(), const QString &text4=QString())
 
virtual ~TreeMapItem ()
 
void addFreeRect (const QRect &r)
 
void addItem (TreeMapItem *)
 
virtual int borderWidth () const
 
void clear ()
 
void clearFreeRects ()
 
void clearItemRect ()
 
TreeMapItem * commonParent (TreeMapItem *item)
 
int depth () const
 
virtual const QFont & font () const
 
const QList< QRect > & freeRects () const
 
int height () const
 
int index () const
 
bool initialized ()
 
bool isChildOf (TreeMapItem *)
 
virtual bool isMarked (int) const
 
const QRect & itemRect () const
 
TreeMapItem * parent () const
 
QStringList path (int) const
 
virtual Position position (int) const
 
void redraw ()
 
void refresh ()
 
void resort (bool recursive=true)
 
void setIndex (int i)
 
void setItemRect (const QRect &r)
 
void setParent (TreeMapItem *p)
 
void setSorting (int textNo, bool ascending=true)
 
void setSum (double s)
 
void setValue (double s)
 
void setWidget (TreeMapWidget *w)
 
virtual int sorting (bool *ascending) const
 
TreeMapWidget * widget () const
 
int width () const
 
- Public Member Functions inherited from StoredDrawParams
 StoredDrawParams ()
 
 StoredDrawParams (const QColor &c, bool selected=false, bool current=false)
 
QColor backColor () const
 
bool current () const
 
bool drawFrame () const
 
void drawFrame (bool b)
 
int fieldCount () const
 
int maxLines (int) const
 
QPixmap pixmap (int) const
 
bool rotated () const
 
bool selected () const
 
void setBackColor (const QColor &c)
 
void setCurrent (bool b)
 
void setField (int f, const QString &t, const QPixmap &pm=QPixmap(), Position p=Default, int maxLines=0)
 
void setMaxLines (int f, int)
 
void setPixmap (int f, const QPixmap &)
 
void setPosition (int f, Position)
 
void setRotated (bool b)
 
void setSelected (bool b)
 
void setShaded (bool b)
 
void setText (int f, const QString &)
 
bool shaded () const
 
QString text (int) const
 
- Public Member Functions inherited from DrawParams
virtual ~DrawParams ()
 

Additional Inherited Members

- Public Types inherited from TreeMapItem
enum  SplitMode {
  Bisection, Columns, Rows, AlwaysBest,
  Best, HAlternate, VAlternate, Horizontal,
  Vertical
}
 
- Public Types inherited from DrawParams
enum  Position {
  TopLeft, TopCenter, TopRight, BottomLeft,
  BottomCenter, BottomRight, Default, Unknown
}
 
- Protected Attributes inherited from TreeMapItem
TreeMapItemList * _children
 
double _sum
 
double _value
 
- Protected Attributes inherited from StoredDrawParams
QColor _backColor
 
bool _current:1
 
bool _drawFrame:1
 
bool _rotated:1
 
bool _selected:1
 
bool _shaded:1
 

Detailed Description

Definition at line 113 of file partgraph.h.

Constructor & Destructor Documentation

SubPartItem::SubPartItem ( ProfileCostArray *  c)

Definition at line 408 of file partgraph.cpp.

Member Function Documentation

QColor SubPartItem::backColor ( ) const
virtual

Reimplemented from DrawParams.

Definition at line 517 of file partgraph.cpp.

TreeMapItemList * SubPartItem::children ( )
virtual

Reimplemented from TreeMapItem.

Definition at line 489 of file partgraph.cpp.

ProfileCostArray* SubPartItem::partCostItem ( )
inline

Definition at line 118 of file partgraph.h.

QPixmap SubPartItem::pixmap ( int  i) const
virtual

Implements DrawParams.

Definition at line 446 of file partgraph.cpp.

int SubPartItem::rtti ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 117 of file partgraph.h.

SplitMode SubPartItem::splitMode ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 121 of file partgraph.h.

double SubPartItem::sum ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 478 of file partgraph.cpp.

QString SubPartItem::text ( int  textNo) const
virtual

Implements DrawParams.

Definition at line 414 of file partgraph.cpp.

double SubPartItem::value ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 465 of file partgraph.cpp.


The documentation for this class was generated from the following files:
  • partgraph.h
  • partgraph.cpp
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