aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator/mainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-20 14:36:40 -0400
committerKen Moore <ken@ixsystems.com>2016-10-20 14:36:40 -0400
commit021dad072d5db15f79cc11b44ee4708258503c05 (patch)
treeb852af9845bf6f551f635b05ff0d1892d10065af /src-qt5/desktop-utils/lumina-calculator/mainUI.h
parentAdd the ability to acknowledge the "power" symbol (^) within an equation (diff)
downloadlumina-021dad072d5db15f79cc11b44ee4708258503c05.tar.gz
lumina-021dad072d5db15f79cc11b44ee4708258503c05.tar.bz2
lumina-021dad072d5db15f79cc11b44ee4708258503c05.zip
Finish cleaning up some of the calculator:
1) Add an input validator to the line edit to ensure only valid characters get added 2) Add the ability to click a history item to copy that equation into the line edit. 3) Turn off some debugging messages.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/mainUI.h')
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/mainUI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.h b/src-qt5/desktop-utils/lumina-calculator/mainUI.h
index 5bab1ffc..4192b250 100644
--- a/src-qt5/desktop-utils/lumina-calculator/mainUI.h
+++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.h
@@ -10,6 +10,7 @@
#include <QMainWindow>
#include <QString>
#include <QChar>
+#include <QListWidgetItem>
namespace Ui{
class mainUI;
@@ -44,6 +45,7 @@ private slots:
// void captureButtonEqual();
void captureButtonDecimal();
+ void insert_history(QListWidgetItem *it);
private:
Ui::mainUI *ui;
bgstack15