pktools  2.6.7
Processing Kernel for geospatial data
mainwindow.h
1 /**********************************************************************
2 mainwindow.h: GUI for pktools
3 Copyright (C) 2008-2014 Pieter Kempeneers
4 
5 This file is part of pktools
6 
7 pktools is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11 
12 pktools is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with pktools. If not, see <http://www.gnu.org/licenses/>.
19 ***********************************************************************/
20 #ifndef MAINWINDOW_H
21 #define MAINWINDOW_H
22 
23 #include <QMainWindow>
24 
25 namespace Ui {
26 class MainWindow;
27 }
28 
29 class MainWindow : public QMainWindow
30 {
31  Q_OBJECT
32 
33 public:
34  explicit MainWindow(QWidget *parent = 0);
35  ~MainWindow();
36 
37 private slots:
38  void on_actionInput_triggered();
39 
40  void on_actionReference_triggered();
41 
42  void on_actionMask_triggered();
43 
44  void on_actionOutput_triggered();
45 
46  void on_toolButton_input_clicked();
47 
48  void on_toolButton_mask_clicked();
49 
50  void on_toolButton_output_clicked();
51 
52  void on_toolButton_reference_clicked();
53 
54  void on_pushButton_run_clicked();
55 
56  void on_pushButton_restore_clicked();
57 
58  void on_commandLinkButtonPrepareTable_clicked();
59 
60 private:
61  void setClassTable(const QStringList &labels);
62  void setDefaults();
63 
64  Ui::MainWindow *ui;
65 };
66 
67 #endif // MAINWINDOW_H
Definition: mainwindow.h:27