diff options
author | Ken Moore <ken@ixsystems.com> | 2016-10-13 14:53:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 14:53:50 -0400 |
commit | 80bc5d472b5b73ba54483b48406a8c1be3b2d703 (patch) | |
tree | aba69e2b29336ab539283129fa29ccdcca520228 /src-qt5/desktop-utils/lumina-calculator/mainUI.h | |
parent | Another large update to lumina-fm: (diff) | |
parent | add buttons (diff) | |
download | lumina-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.h | 19 |
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 }; |