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

kcachegrind

Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CallGraphView Class Reference

#include <callgraphview.h>

Inheritance diagram for CallGraphView:
Inheritance graph
[legend]

Public Types

enum  ZoomPosition {
  TopLeft, TopRight, BottomLeft, BottomRight,
  Auto, Hide
}
 
- Public Types inherited from TraceItemView
enum  {
  nothingChanged = 0, eventTypeChanged = 1, eventType2Changed = 2, groupTypeChanged = 4,
  partsChanged = 8, activeItemChanged = 16, selectedItemChanged = 32, dataChanged = 64,
  configChanged = 128
}
 
enum  Direction { None, Back, Forward, Up }
 
enum  Position {
  Hidden, Top, Right, Left,
  Bottom
}
 
- Public Types inherited from GraphOptions
enum  Layout { TopDown, LeftRight, Circular }
 

Public Slots

void calleeDepthTriggered (QAction *)
 
void callerDepthTriggered (QAction *)
 
void callLimitTriggered (QAction *)
 
void dotError ()
 
void dotExited ()
 
void layoutTriggered (QAction *)
 
void nodeLimitTriggered (QAction *)
 
void readDotOutput ()
 
void showRenderError (QString)
 
void showRenderWarning ()
 
void stopRendering ()
 
void zoomPosTriggered (QAction *)
 
void zoomRectMoved (qreal, qreal)
 
void zoomRectMoveFinished ()
 

Public Member Functions

 CallGraphView (TraceItemView *parentView, QWidget *parent=0, const char *name=0)
 
 ~CallGraphView ()
 
void restoreOptions (const QString &prefix, const QString &postfix)
 
void saveOptions (const QString &prefix, const QString &postfix)
 
QString whatsThis () const
 
QWidget * widget ()
 
ZoomPosition zoomPos () const
 
- Public Member Functions inherited from TraceItemView
 TraceItemView (TraceItemView *parentView, TopLevelBase *top=0)
 
virtual ~TraceItemView ()
 
bool activate (CostItem *i)
 
virtual void activated (TraceItemView *sender, CostItem *)
 
TraceFunction * activeFunction ()
 
CostItem * activeItem () const
 
void addEventTypeMenu (QMenu *, bool withCost2=true)
 
void addGoMenu (QMenu *)
 
TraceData * data () const
 
virtual void directionActivated (TraceItemView *sender, Direction)
 
EventType * eventType () const
 
EventType * eventType2 () const
 
ProfileContext::Type groupType () const
 
void notifyChange (int changeType)
 
const TracePartList & partList () const
 
virtual void partsSelected (TraceItemView *sender, const TracePartList &)
 
Position position () const
 
virtual void restoreLayout (const QString &prefix, const QString &postfix)
 
virtual void saveLayout (const QString &prefix, const QString &postfix)
 
void select (CostItem *i)
 
virtual void selected (TraceItemView *sender, CostItem *)
 
virtual void selectedEventType (TraceItemView *sender, EventType *)
 
virtual void selectedEventType2 (TraceItemView *sender, EventType *)
 
virtual void selectedGroupType (TraceItemView *sender, ProfileContext::Type)
 
CostItem * selectedItem () const
 
void set (ProfileContext::Type g)
 
void set (const TracePartList &l)
 
bool set (int, TraceData *, EventType *, EventType *, ProfileContext::Type, const TracePartList &, CostItem *, CostItem *)
 
virtual void setData (TraceData *d)
 
void setEventType (EventType *t)
 
void setEventType2 (EventType *t)
 
void setMergeUpdates (bool b)
 
void setPosition (Position p)
 
void setTitle (QString t)
 
void setTopLevel (TopLevelBase *t)
 
int status () const
 
QString title () const
 
TopLevelBase * topLevel () const
 
void updateView (bool force=false)
 
- Public Member Functions inherited from StorableGraphOptions
 StorableGraphOptions ()
 
virtual ~StorableGraphOptions ()
 
virtual double callLimit ()
 
virtual bool clusterGroups ()
 
virtual int detailLevel ()
 
virtual bool expandCycles ()
 
virtual double funcLimit ()
 
virtual Layout layout ()
 
virtual int maxCalleeDepth ()
 
virtual int maxCallerDepth ()
 
void setCallLimit (double l)
 
void setClusterGroups (bool b)
 
void setDetailLevel (int l)
 
void setExpandCycles (bool b)
 
void setFuncLimit (double l)
 
void setLayout (Layout l)
 
void setMaxCalleeDepth (int d)
 
void setMaxCallerDepth (int d)
 
void setShowSkipped (bool b)
 
virtual bool showSkipped ()
 
- Public Member Functions inherited from GraphOptions
virtual ~GraphOptions ()
 

Static Public Member Functions

static ZoomPosition zoomPos (QString)
 
static QString zoomPosString (ZoomPosition)
 
- Static Public Member Functions inherited from GraphOptions
static Layout layout (QString)
 
static QString layoutString (Layout)
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *)
 
void focusInEvent (QFocusEvent *)
 
void focusOutEvent (QFocusEvent *)
 
void keyPressEvent (QKeyEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void mousePressEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void resizeEvent (QResizeEvent *)
 
void scrollContentsBy (int dx, int dy)
 
- Protected Member Functions inherited from TraceItemView
void activated (CostItem *)
 
void directionActivated (TraceItemView::Direction)
 
virtual bool isViewVisible ()
 
void partsSelected (const TracePartList &)
 
void selected (CostItem *)
 
void selectedEventType (EventType *)
 
void selectedEventType2 (EventType *)
 
void selectedGroupType (ProfileContext::Type)
 

Additional Inherited Members

- Protected Attributes inherited from TraceItemView
CostItem * _activeItem
 
TraceData * _data
 
EventType * _eventType
 
EventType * _eventType2
 
ProfileContext::Type _groupType
 
TraceItemView * _parentView
 
TracePartList _partList
 
CostItem * _selectedItem
 
TopLevelBase * _topLevel
 
- Protected Attributes inherited from StorableGraphOptions
double _callLimit
 
bool _clusterGroups
 
int _detailLevel
 
bool _expandCycles
 
double _funcLimit
 
Layout _layout
 
int _maxCalleeDepth
 
int _maxCallerDepth
 
bool _showSkipped
 

Detailed Description

A QGraphicsView showing a part of the call graph and another zoomed out CanvasView in a border acting as a panner to select to visible part (only if needed)

Definition at line 574 of file callgraphview.h.

Member Enumeration Documentation

enum CallGraphView::ZoomPosition
Enumerator
TopLeft 
TopRight 
BottomLeft 
BottomRight 
Auto 
Hide 

Definition at line 580 of file callgraphview.h.

Constructor & Destructor Documentation

CallGraphView::CallGraphView ( TraceItemView *  parentView,
QWidget *  parent = 0,
const char *  name = 0 
)
explicit

Definition at line 1500 of file callgraphview.cpp.

CallGraphView::~CallGraphView ( )

Definition at line 1540 of file callgraphview.cpp.

Member Function Documentation

void CallGraphView::calleeDepthTriggered ( QAction *  a)
slot

Definition at line 2768 of file callgraphview.cpp.

void CallGraphView::callerDepthTriggered ( QAction *  a)
slot

Definition at line 2729 of file callgraphview.cpp.

void CallGraphView::callLimitTriggered ( QAction *  a)
slot

Definition at line 2848 of file callgraphview.cpp.

void CallGraphView::contextMenuEvent ( QContextMenuEvent *  e)
protected

Definition at line 2924 of file callgraphview.cpp.

void CallGraphView::dotError ( )
slot

Definition at line 2107 of file callgraphview.cpp.

void CallGraphView::dotExited ( )
slot

Definition at line 2127 of file callgraphview.cpp.

void CallGraphView::focusInEvent ( QFocusEvent *  )
protected

Definition at line 1698 of file callgraphview.cpp.

void CallGraphView::focusOutEvent ( QFocusEvent *  e)
protected

Definition at line 1708 of file callgraphview.cpp.

void CallGraphView::keyPressEvent ( QKeyEvent *  e)
protected

Definition at line 1714 of file callgraphview.cpp.

void CallGraphView::layoutTriggered ( QAction *  a)
slot

Definition at line 2917 of file callgraphview.cpp.

void CallGraphView::mouseDoubleClickEvent ( QMouseEvent *  e)
protected

Definition at line 2660 of file callgraphview.cpp.

void CallGraphView::mouseMoveEvent ( QMouseEvent *  e)
protected

Definition at line 2639 of file callgraphview.cpp.

void CallGraphView::mousePressEvent ( QMouseEvent *  e)
protected

Definition at line 2600 of file callgraphview.cpp.

void CallGraphView::mouseReleaseEvent ( QMouseEvent *  )
protected

Definition at line 2653 of file callgraphview.cpp.

void CallGraphView::nodeLimitTriggered ( QAction *  a)
slot

Definition at line 2811 of file callgraphview.cpp.

void CallGraphView::readDotOutput ( )
slot

Definition at line 2093 of file callgraphview.cpp.

void CallGraphView::resizeEvent ( QResizeEvent *  e)
protected

Definition at line 1814 of file callgraphview.cpp.

void CallGraphView::restoreOptions ( const QString &  prefix,
const QString &  postfix 
)
virtual

Reimplemented from TraceItemView.

Definition at line 3143 of file callgraphview.cpp.

void CallGraphView::saveOptions ( const QString &  prefix,
const QString &  postfix 
)
virtual

Reimplemented from TraceItemView.

Definition at line 3163 of file callgraphview.cpp.

void CallGraphView::scrollContentsBy ( int  dx,
int  dy 
)
protected

Definition at line 2567 of file callgraphview.cpp.

void CallGraphView::showRenderError ( QString  s)
slot

Definition at line 1971 of file callgraphview.cpp.

void CallGraphView::showRenderWarning ( )
slot

Definition at line 1955 of file callgraphview.cpp.

void CallGraphView::stopRendering ( )
slot

Definition at line 1986 of file callgraphview.cpp.

QString CallGraphView::whatsThis ( ) const
virtual

Reimplemented from TraceItemView.

Definition at line 1546 of file callgraphview.cpp.

QWidget* CallGraphView::widget ( )
inlinevirtual

Implements TraceItemView.

Definition at line 589 of file callgraphview.h.

ZoomPosition CallGraphView::zoomPos ( ) const
inline

Definition at line 596 of file callgraphview.h.

CallGraphView::ZoomPosition CallGraphView::zoomPos ( QString  s)
static

Definition at line 3107 of file callgraphview.cpp.

QString CallGraphView::zoomPosString ( ZoomPosition  p)
static

Definition at line 3125 of file callgraphview.cpp.

void CallGraphView::zoomPosTriggered ( QAction *  a)
slot

Definition at line 2884 of file callgraphview.cpp.

void CallGraphView::zoomRectMoved ( qreal  dx,
qreal  dy 
)
slot

Definition at line 2583 of file callgraphview.cpp.

void CallGraphView::zoomRectMoveFinished ( )
slot

Definition at line 2594 of file callgraphview.cpp.


The documentation for this class was generated from the following files:
  • callgraphview.h
  • callgraphview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:27 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