summaryrefslogtreecommitdiffstats
path: root/src/gui/numberconversionform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/numberconversionform.h')
-rw-r--r--src/gui/numberconversionform.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/numberconversionform.h b/src/gui/numberconversionform.h
new file mode 100644
index 0000000..cacf47e
--- /dev/null
+++ b/src/gui/numberconversionform.h
@@ -0,0 +1,24 @@
+#ifndef NUMBERCONVERSIONFORM_H
+#define NUMBERCONVERSIONFORM_H
+
+#include <QDialog>
+#include "ui_numberconversionform.h"
+
+class NumberConversionForm : public QDialog, private Ui::NumberConversionForm
+{
+ Q_OBJECT
+
+public:
+ NumberConversionForm(QWidget* parent = 0);
+ ~NumberConversionForm();
+
+ int exec(QString& expr, QString& replace);
+
+public slots:
+ void validate();
+
+private:
+ void init();
+};
+
+#endif // NUMBERCONVERSIONFORM_H