summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/calculator.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/qashmoney/calculator.h') (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/calculator.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/calculator.h b/noncore/apps/qashmoney/calculator.h
new file mode 100755
index 0000000..56dc1bc
--- a/dev/null
+++ b/noncore/apps/qashmoney/calculator.h
@@ -0,0 +1,50 @@
+#ifndef CALCULATOR_H
+#define CALCULATOR_H
+
+#include <qdialog.h>
+#include <qlayout.h>
+#include <qlineedit.h>
+
+class Calculator : public QDialog
+{
+ Q_OBJECT
+
+ public:
+
+ Calculator ( QWidget* parent );
+
+ QLineEdit* display;
+
+ private slots:
+
+ void displayOne ();
+ void displayTwo ();
+ void displayThree ();
+ void displayFour ();
+ void displayFive ();
+ void displaySix ();
+ void displaySeven ();
+ void displayEight ();
+ void displayNine ();
+ void displayZero ();
+ void displayPoint ();
+ void back ();
+
+ private:
+
+ QGridLayout *layout;
+
+};
+
+#endif
+
+
+
+
+
+
+
+
+
+
+