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

kcachegrind

Public Member Functions | Protected Attributes | List of all members
StoredDrawParams Class Reference

#include <treemap.h>

Inheritance diagram for StoredDrawParams:
Inheritance graph
[legend]

Public Member Functions

 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
 
const QFont & font () const
 
int maxLines (int) const
 
QPixmap pixmap (int) const
 
Position position (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 ()
 

Protected Attributes

QColor _backColor
 
bool _current:1
 
bool _drawFrame:1
 
bool _rotated:1
 
bool _selected:1
 
bool _shaded:1
 

Additional Inherited Members

- Public Types inherited from DrawParams
enum  Position {
  TopLeft, TopCenter, TopRight, BottomLeft,
  BottomCenter, BottomRight, Default, Unknown
}
 

Detailed Description

Definition at line 96 of file treemap.h.

Constructor & Destructor Documentation

StoredDrawParams::StoredDrawParams ( )

Definition at line 52 of file treemap.cpp.

StoredDrawParams::StoredDrawParams ( const QColor &  c,
bool  selected = false,
bool  current = false 
)
explicit

Definition at line 65 of file treemap.cpp.

Member Function Documentation

QColor StoredDrawParams::backColor ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 110 of file treemap.h.

bool StoredDrawParams::current ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 112 of file treemap.h.

bool StoredDrawParams::drawFrame ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 115 of file treemap.h.

void StoredDrawParams::drawFrame ( bool  b)
inline

Definition at line 131 of file treemap.h.

int StoredDrawParams::fieldCount ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 108 of file treemap.h.

const QFont & StoredDrawParams::font ( ) const
virtual

Implements DrawParams.

Reimplemented in TreeMapItem.

Definition at line 111 of file treemap.cpp.

int StoredDrawParams::maxLines ( int  f) const
virtual

Reimplemented from DrawParams.

Definition at line 103 of file treemap.cpp.

QPixmap StoredDrawParams::pixmap ( int  f) const
virtual

Implements DrawParams.

Definition at line 87 of file treemap.cpp.

DrawParams::Position StoredDrawParams::position ( int  f) const
virtual

Implements DrawParams.

Reimplemented in TreeMapItem.

Definition at line 95 of file treemap.cpp.

bool StoredDrawParams::rotated ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 114 of file treemap.h.

bool StoredDrawParams::selected ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 111 of file treemap.h.

void StoredDrawParams::setBackColor ( const QColor &  c)
inline

Definition at line 126 of file treemap.h.

void StoredDrawParams::setCurrent ( bool  b)
inline

Definition at line 128 of file treemap.h.

void StoredDrawParams::setField ( int  f,
const QString &  t,
const QPixmap &  pm = QPixmap(),
Position  p = Default,
int  maxLines = 0 
)

Definition at line 135 of file treemap.cpp.

void StoredDrawParams::setMaxLines ( int  f,
int  m 
)

Definition at line 171 of file treemap.cpp.

void StoredDrawParams::setPixmap ( int  f,
const QPixmap &  pm 
)

Definition at line 155 of file treemap.cpp.

void StoredDrawParams::setPosition ( int  f,
Position  p 
)

Definition at line 163 of file treemap.cpp.

void StoredDrawParams::setRotated ( bool  b)
inline

Definition at line 130 of file treemap.h.

void StoredDrawParams::setSelected ( bool  b)
inline

Definition at line 127 of file treemap.h.

void StoredDrawParams::setShaded ( bool  b)
inline

Definition at line 129 of file treemap.h.

void StoredDrawParams::setText ( int  f,
const QString &  t 
)

Definition at line 147 of file treemap.cpp.

bool StoredDrawParams::shaded ( ) const
inlinevirtual

Reimplemented from DrawParams.

Definition at line 113 of file treemap.h.

QString StoredDrawParams::text ( int  f) const
virtual

Implements DrawParams.

Definition at line 79 of file treemap.cpp.

Member Data Documentation

QColor StoredDrawParams::_backColor
protected

Definition at line 134 of file treemap.h.

bool StoredDrawParams::_current
protected

Definition at line 136 of file treemap.h.

bool StoredDrawParams::_drawFrame
protected

Definition at line 139 of file treemap.h.

bool StoredDrawParams::_rotated
protected

Definition at line 138 of file treemap.h.

bool StoredDrawParams::_selected
protected

Definition at line 135 of file treemap.h.

bool StoredDrawParams::_shaded
protected

Definition at line 137 of file treemap.h.


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