Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Graph Class Reference

#include </home/clem/local/src/opie/noncore/applets/memoryapplet/graph.h>

Inheritance diagram for Graph:

Inheritance graph
[legend]
Collaboration diagram for Graph:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Graph (QWidget *parent=0, const char *name=0, WFlags f=0)
void setData (const GraphData *p)
 Graph (QWidget *=0x0, GraphInfo *=0x0, const QString &=0x0, int=0)
void setGraphInfo (GraphInfo *)
void drawGraph (bool=FALSE)
 Graph (QWidget *parent=0, const char *name=0, WFlags f=0)
void setData (const GraphData *p)

Protected Member Functions

void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *)

Protected Attributes

const GraphDatadata
const GraphDatadata

Private Member Functions

void initGraph ()
void drawBarChart (int, int, float, float)
void drawPieChart (int, int, float)

Private Attributes

GraphInfodata
QPixmap graph

Classes

class  FretBoard

Constructor & Destructor Documentation

Graph::Graph QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Graph::Graph QWidget *  = 0x0,
GraphInfo = 0x0,
const QString = 0x0,
int  = 0
 

Graph::Graph QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 


Member Function Documentation

void Graph::drawBarChart int  ,
int  ,
float  ,
float 
[private]
 

Referenced by Graph::initGraph().

void Graph::drawGraph bool  = FALSE  ) 
 

Referenced by Graph::paintEvent(), Graph::resizeEvent(), and Checkbook::slotDrawGraph().

void Graph::drawPieChart int  ,
int  ,
float 
[private]
 

Referenced by Graph::initGraph().

void Graph::initGraph  )  [private]
 

Referenced by Graph::drawGraph().

void Graph::paintEvent QPaintEvent *   )  [protected]
 

void Graph::resizeEvent QResizeEvent *   )  [protected]
 

void Graph::setData const GraphData p  )  [inline]
 

Definition at line 46 of file graph.h.

References data.

void Graph::setData const GraphData p  )  [inline]
 

Definition at line 46 of file graph.h.

References data.

void Graph::setGraphInfo GraphInfo  ) 
 

Referenced by Checkbook::slotDrawGraph().


Member Data Documentation

const GraphData* Graph::data [protected]
 

Definition at line 49 of file graph.h.

GraphInfo* Graph::data [private]
 

Definition at line 54 of file graph.h.

const GraphData* Graph::data [protected]
 

Definition at line 49 of file graph.h.

Referenced by BarGraph::drawContents(), PieGraph::drawContents(), Graph::drawBarChart(), Graph::drawPieChart(), Graph::initGraph(), Graph::setGraphInfo(), and setData().

QPixmap Graph::graph [private]
 

Definition at line 56 of file graph.h.

Referenced by Graph::drawBarChart(), Graph::drawGraph(), Graph::drawPieChart(), and Graph::initGraph().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:34:21 2005 for OPIE by  doxygen 1.4.2