summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/checkbook.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/checkbook.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/checkbook.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/checkbook.h b/noncore/apps/checkbook/checkbook.h
index 01f1115..287788a 100644
--- a/noncore/apps/checkbook/checkbook.h
+++ b/noncore/apps/checkbook/checkbook.h
@@ -27,24 +27,25 @@
*/
#ifndef CHECKBOOK_H
#define CHECKBOOK_H
#include "traninfo.h"
#include <qdialog.h>
class OTabWidget;
class Graph;
+class GraphInfo;
class QComboBox;
class QLabel;
class QLineEdit;
class QListView;
class QMultiLineEdit;
class QString;
class Checkbook : public QDialog
{
Q_OBJECT
public:
@@ -76,27 +77,31 @@ class Checkbook : public QDialog
QLineEdit *balanceEdit;
QMultiLineEdit *notesEdit;
float startBalance;
// Transactions tab
QWidget *initTransactions();
QListView *tranTable;
QLabel *balanceLabel;
float currBalance;
// Charts tab
QWidget *initCharts();
- //QComboBox *graphList;
+ GraphInfo *graphInfo;
+ QComboBox *graphList;
Graph *graphWidget;
+ void drawBalanceChart();
+ void drawCategoryChart( bool = TRUE );
+
protected slots:
void accept();
private slots:
void slotNameChanged( const QString & );
void slotStartingBalanceChanged( const QString & );
void slotNewTran();
void slotEditTran();
void slotDeleteTran();
void slotDrawGraph();
};