diff options
author | Ken Moore <ken@ixsystems.com> | 2019-04-03 15:21:17 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2019-04-03 15:21:17 -0400 |
commit | 8d5f1e04d7e4f24a4026804d62abe64883419bf2 (patch) | |
tree | e8de5a663e7c39db7979b61320a220bcbbdfa5ce /src-qt5/desktop-utils/lumina-calculator/mainUI.h | |
parent | Update README.md (diff) | |
download | lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.tar.gz lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.tar.bz2 lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.zip |
Remove lumina-calculator and lumina-pdf from the lumina repo.
They have their own repos now (https://github.com/lumina-desktop/lumina-[pdf/calculator])
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/mainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/mainUI.h | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.h b/src-qt5/desktop-utils/lumina-calculator/mainUI.h deleted file mode 100644 index 19077ca7..00000000 --- a/src-qt5/desktop-utils/lumina-calculator/mainUI.h +++ /dev/null @@ -1,71 +0,0 @@ -//=========================================== -// Lumina Desktop source code -// Copyright (c) 2016, Ken Moore -// Available under the 3-clause BSD license -// See the LICENSE file for full details -//=========================================== -#ifndef _LUMINA_CALCULATOR_MAIN_UI_H -#define _LUMINA_CALCULATOR_MAIN_UI_H - -#include <QMainWindow> -#include <QString> -#include <QChar> -#include <QListWidgetItem> -#include <QShortcut> - -namespace Ui{ - class mainUI; -}; - -class mainUI : public QMainWindow{ - Q_OBJECT -public: - mainUI(); - ~mainUI(); - -public slots: - void updateIcons(); - void updateMenus(); - -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 captureButtonDecimal(); - - void advMenuTriggered(QAction *act); - - void insert_history(QListWidgetItem *it); - void copy_to_clipboard(QListWidgetItem *it); - void checkInput(const QString&); - - void saveHistory(); - - void quitShortcut_Triggered(); - -private: - Ui::mainUI *ui; - QMenu *advMenu; - - double performOperation(double LHS, double RHS, QChar symbol); - double performSciOperation(QString func, double arg); - double strToNumber(QString str); //this is highly-recursive - QString getHistory(int number = -1); - - QShortcut *quitShortcut, *escShortcut; - -}; -#endif |