FotoSHOCK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
mainwindow.h
1 /*
2  * Copyright 2011, 2012 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 MAINWINDOW_H
20 #define MAINWINDOW_H
21 
22 #include "widgets/QGraph/QGraph.h"
23 
24 #include <ui_mainwindow.h>
25 
26 #include <vector>
27 
28 namespace FotoSHOCKcore {
29  class ImageOperationDescriptor;
30 }
31 
32 class MainWindow : public QMainWindow, private Ui::MainWindow {
33 Q_OBJECT
34 public:
35  explicit MainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0);
36 protected:
37  virtual void closeEvent(QCloseEvent* );
38 public slots:
39  void open();
40  void saveAs();
41 private:
42  QGraph* m_graphWidget;
43  vector<FotoSHOCKcore::ImageOperationDescriptor*> m_operations;
44 };
45 
46 #endif // MAINWINDOW_H