summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/qcheckgraph.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/qcheckgraph.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/qcheckgraph.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/qcheckgraph.h b/noncore/apps/checkbook/qcheckgraph.h
new file mode 100644
index 0000000..1cafef8
--- a/dev/null
+++ b/noncore/apps/checkbook/qcheckgraph.h
@@ -0,0 +1,25 @@
+#include <qstring.h>
+#include <qmainwindow.h>
+#include <qwidget.h>
+#include <qstringlist.h>
+#include <qpixmap.h>
+#include "config.h"
+
+#include "qcheckgraphbase.h"
+
+class QCheckGraph : public QCheckGraphBase
+{
+ Q_OBJECT
+ public:
+ QCheckGraph(const QString);
+ private:
+ QStringList list;
+ QStringList list2;
+ QString calculator(QString larger, QString smaller, bool divide);
+ QPixmap graph;
+ void graphPixmap();
+ bool pixmapready;
+ Config *config;
+ private slots:
+ void saveGraphAsPicture();
+};