aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator/mainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-13 14:53:50 -0400
committerGitHub <noreply@github.com>2016-10-13 14:53:50 -0400
commit80bc5d472b5b73ba54483b48406a8c1be3b2d703 (patch)
treeaba69e2b29336ab539283129fa29ccdcca520228 /src-qt5/desktop-utils/lumina-calculator/mainUI.h
parentAnother large update to lumina-fm: (diff)
parentadd buttons (diff)
downloadlumina-80bc5d472b5b73ba54483b48406a8c1be3b2d703.tar.gz
lumina-80bc5d472b5b73ba54483b48406a8c1be3b2d703.tar.bz2
lumina-80bc5d472b5b73ba54483b48406a8c1be3b2d703.zip
Merge pull request #286 from q5sys/master
Add functional buttons
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/mainUI.h')
-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