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 
21 #ifndef MAINWINDOW_H
22 #define MAINWINDOW_H
23 
24 #include <QMainWindow>
25 #include <QModelIndex>
26 #include <QShortcut>
27 #include <QListWidget>
28 
29 namespace Ui {
30 class MainWindow;
31 }
32 
33 class MainWindow : public QMainWindow
34 {
35  Q_OBJECT
36 
37 public:
38  explicit MainWindow(QWidget *parent = 0);
39  ~MainWindow();
40 
41 private slots:
42  void on_actionInput_triggered();
43 
44  void on_toolButton_input_clicked();
45 
46  void on_toolButton_extent_clicked();
47 
48  void on_toolButton_output_clicked();
49 
50  void on_toolButton_ct_clicked();
51 
52  void on_toolButton_Run_clicked();
53 
54  void on_toolButton_defaults_clicked();
55 
56  void on_actionQuit_triggered();
57 
58  void on_actionOutput_triggered();
59 
60  void on_autoscale_clicked();
61 
62  void on_actionExtent_triggered();
63 
64  void on_manual_clicked();
65 
66  void on_noscale_clicked();
67 
68  void deleteItem();
69 
70  void on_toolButton_clicked();
71 
72 private:
73  Ui::MainWindow *ui;
74  void setDefaults();
75  bool m_manual;
76  bool m_as;
77 };
78 
79 #endif // MAINWINDOW_H
Definition: mainwindow.h:27