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

kcachegrind

  • sources
  • kde-4.12
  • kdesdk
  • kcachegrind
  • libviews
Macros | Functions
listutils.cpp File Reference
#include "listutils.h"
#include <QPainter>
#include <QPixmap>
#include "globalguiconfig.h"
Include dependency graph for listutils.cpp:

Go to the source code of this file.

Macros

#define COSTPIX_WIDTH   25
 

Functions

QPixmap colorPixmap (int w, int h, QColor c)
 
QPixmap costPixmap (EventType *ct, ProfileCostArray *cost, double total, bool framed)
 
QColor partitionColor (int d, int max)
 
QPixmap partitionPixmap (int w, int h, double *hist, EventTypeSet *set, int maxIndex, bool framed)
 
QPixmap percentagePixmap (int w, int h, int percent, QColor c, bool framed)
 

Macro Definition Documentation

#define COSTPIX_WIDTH   25

Definition at line 30 of file listutils.cpp.

Function Documentation

QPixmap colorPixmap ( int  w,
int  h,
QColor  c 
)

Definition at line 32 of file listutils.cpp.

QPixmap costPixmap ( EventType *  ct,
ProfileCostArray *  cost,
double  total,
bool  framed 
)

Definition at line 217 of file listutils.cpp.

QColor partitionColor ( int  d,
int  max 
)
inline

Definition at line 119 of file listutils.cpp.

QPixmap partitionPixmap ( int  w,
int  h,
double *  hist,
EventTypeSet *  set,
int  maxIndex,
bool  framed 
)

Definition at line 125 of file listutils.cpp.

QPixmap percentagePixmap ( int  w,
int  h,
int  percent,
QColor  c,
bool  framed 
)

Create a percentage pixmap with a filling rate of p percent (0-100).

When withFrame==false, the pixmap is truncated to only the filled portion.

Definition at line 72 of file listutils.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