//=========================================== // 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 #include #include namespace Ui{ class mainUI; }; class mainUI : public QMainWindow{ Q_OBJECT public: mainUI(); ~mainUI(); private slots: void start_calc(); private: Ui::mainUI *ui; double performOperation(double LHS, double RHS, QChar symbol); double strToNumber(QString str); //this is highly-recursive }; #endif