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

#include <partgraph.h>

Inheritance diagram for BasePartItem:
Inheritance graph
[legend]

Public Member Functions

 BasePartItem ()
 
QColor backColor () const
 
int borderWidth () const
 
TreeMapItemList * children ()
 
int rtti () const
 
void setData (TraceData *d)
 
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
 
virtual double sum () 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 76 of file partgraph.h.

Constructor & Destructor Documentation

BasePartItem::BasePartItem ( )

Definition at line 186 of file partgraph.cpp.

Member Function Documentation

QColor BasePartItem::backColor ( ) const
virtual

Reimplemented from DrawParams.

Definition at line 230 of file partgraph.cpp.

int BasePartItem::borderWidth ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 86 of file partgraph.h.

TreeMapItemList * BasePartItem::children ( )
virtual

Reimplemented from TreeMapItem.

Definition at line 201 of file partgraph.cpp.

int BasePartItem::rtti ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 83 of file partgraph.h.

void BasePartItem::setData ( TraceData *  d)

Definition at line 193 of file partgraph.cpp.

QString BasePartItem::text ( int  textNo) const
virtual

Implements DrawParams.

Definition at line 217 of file partgraph.cpp.

double BasePartItem::value ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 235 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