From 2dc81c48428222533e5479947d9ad318e464bafa Mon Sep 17 00:00:00 2001 From: drw Date: Sat, 02 Nov 2002 21:45:56 +0000 Subject: Implementing charting... --- (limited to 'noncore/apps/checkbook/graph.h') diff --git a/noncore/apps/checkbook/graph.h b/noncore/apps/checkbook/graph.h index 7379be7..40b23cd 100644 --- a/noncore/apps/checkbook/graph.h +++ b/noncore/apps/checkbook/graph.h @@ -33,6 +33,7 @@ #include class GraphInfo; +class QPainter; class Graph : public QWidget { @@ -44,7 +45,7 @@ class Graph : public QWidget void setGraphInfo( GraphInfo * ); void drawGraph( bool = FALSE ); - + protected: void paintEvent( QPaintEvent * ); void resizeEvent( QResizeEvent * ); @@ -55,9 +56,9 @@ class Graph : public QWidget QPixmap graph; void initGraph(); - void drawBarChart(); - void drawLineChart(); - void drawPieChart(); + void drawBarChart( int, int, float ); + void drawLineChart( int, int, float ); + void drawPieChart( int, int, float ); }; #endif -- cgit v0.9.0.2