aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorJT Pennington <jt@obs-sec.com>2016-10-13 14:44:50 -0400
committerGitHub <noreply@github.com>2016-10-13 14:44:50 -0400
commit850d4681f0da8b2b68f9382b3883a584be5dd712 (patch)
tree975f0f3b13cd72025a8d54715a9e2b8aaec8c5d9 /src-qt5
parentadd buttons (diff)
downloadlumina-850d4681f0da8b2b68f9382b3883a584be5dd712.tar.gz
lumina-850d4681f0da8b2b68f9382b3883a584be5dd712.tar.bz2
lumina-850d4681f0da8b2b68f9382b3883a584be5dd712.zip
add buttons
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/mainUI.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.h b/src-qt5/desktop-utils/lumina-calculator/mainUI.h
index 96414252..0d99c83a 100644
--- a/src-qt5/desktop-utils/lumina-calculator/mainUI.h
+++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.h
@@ -23,10 +23,27 @@ public:
private slots:
void start_calc();
+ void clear_calc();
+ void captureButton1();
+ void captureButton2();
+ void captureButton3();
+ void captureButton4();
+ void captureButton5();
+ void captureButton6();
+ void captureButton7();
+ void captureButton8();
+ void captureButton9();
+ void captureButton0();
+ void captureButtonSubtract();
+ void captureButtonAdd();
+ void captureButtonDivide();
+ void captureButtonMultiply();
+// void captureButtonEqual();
+ void captureButtonDecimal();
+
private:
Ui::mainUI *ui;
-
double performOperation(double LHS, double RHS, QChar symbol);
double strToNumber(QString str); //this is highly-recursive
};
bgstack15