• 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
PartItem Class Reference

#include <partgraph.h>

Inheritance diagram for PartItem:
Inheritance graph
[legend]

Public Member Functions

 PartItem (TracePart *p)
 
QColor backColor () const
 
int borderWidth () const
 
TreeMapItemList * children ()
 
TracePart * part ()
 
QPixmap pixmap (int) const
 
int rtti () 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 *)
 
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
 
virtual SplitMode splitMode () 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 94 of file partgraph.h.

Constructor & Destructor Documentation

PartItem::PartItem ( TracePart *  p)

Definition at line 249 of file partgraph.cpp.

Member Function Documentation

QColor PartItem::backColor ( ) const
virtual

Reimplemented from DrawParams.

Definition at line 399 of file partgraph.cpp.

int PartItem::borderWidth ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 102 of file partgraph.h.

TreeMapItemList * PartItem::children ( )
virtual

Reimplemented from TreeMapItem.

Definition at line 322 of file partgraph.cpp.

TracePart* PartItem::part ( )
inline

Definition at line 99 of file partgraph.h.

QPixmap PartItem::pixmap ( int  i) const
virtual

Implements DrawParams.

Definition at line 280 of file partgraph.cpp.

int PartItem::rtti ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 98 of file partgraph.h.

double PartItem::sum ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 311 of file partgraph.cpp.

QString PartItem::text ( int  textNo) const
virtual

Implements DrawParams.

Definition at line 255 of file partgraph.cpp.

double PartItem::value ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 291 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:50 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
  • 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