FotoSHOCK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
QMathUi.h
1 /*
2  * Copyright 2013 Lukas Jirkovsky
3  *
4  * This file is part of FotoSHOCK.
5  *
6  * FotoSHOCK is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, version 3 of the License.
9  *
10  * FotoSHOCK is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with FotoSHOCK. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef QMATHUI_H
20 #define QMATHUI_H
21 
22 #include <QtGui/QDialog>
23 
24 #include "MathOperation.h"
25 
26 namespace Ui {
27 class MathOpDialog;
28 }
29 
30 class QMathUi : public QDialog
31 {
32 Q_OBJECT
33  public:
34  explicit QMathUi(FotoSHOCKcore::GraphNode* node, QWidget* parent = 0, Qt::WindowFlags f = 0);
35  ~QMathUi();
36  private slots:
37  void changeMode(int mode);
38  private:
39  Ui::MathOpDialog *ui;
41 };
42 
43 #endif // QMATHUI_H