summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/graph.cpp
authordrw <drw>2002-12-04 02:12:25 (UTC)
committer drw <drw>2002-12-04 02:12:25 (UTC)
commitd000538b68b3411a409e829c4e68f42f9646b940 (patch) (side-by-side diff)
tree72abee0785a595ef9d5edf9ecd20743a9ff16559 /noncore/apps/checkbook/graph.cpp
parent9b23bf789c15bcc84dabc400f16fa38ff3a34ebd (diff)
downloadopie-d000538b68b3411a409e829c4e68f42f9646b940.zip
opie-d000538b68b3411a409e829c4e68f42f9646b940.tar.gz
opie-d000538b68b3411a409e829c4e68f42f9646b940.tar.bz2
Abstracted checkbook storage, added new main window display/configuration options.
Diffstat (limited to 'noncore/apps/checkbook/graph.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/graph.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/noncore/apps/checkbook/graph.cpp b/noncore/apps/checkbook/graph.cpp
index 8ae835c..acdb846 100644
--- a/noncore/apps/checkbook/graph.cpp
+++ b/noncore/apps/checkbook/graph.cpp
@@ -84,17 +84,12 @@ void Graph::initGraph()
{
case GraphInfo::BarChart :
{
drawBarChart( width(), height(), data->maxValue() );
}
break;
- case GraphInfo::LineChart :
- {
- //drawLineChart( p, s, min, max );
- }
- break;
case GraphInfo::PieChart :
{
drawPieChart( width(), height(), data->totalValue() );
}
};
}
@@ -129,16 +124,12 @@ void Graph::drawBarChart( int width, int height, float max )
// WordBreak | AlignTop | AlignHCenter, dp->label() );
i++;
x += bw;
}
}
-void Graph::drawLineChart( int width, int height, float max )
-{
-}
-
void Graph::drawPieChart( int width, int height, float sum )
{
QPainter p( &graph );
// Try to set the font size smaller for text
QFont f = font();