DLA-Fire-Prediction-Thesis 1.0

MainWindow.h

Go to the documentation of this file.
00001 #ifndef _MAINWINDOW_H_
00002 #define _MAINWINDOW_H_
00003 
00004 #include <QtGui/QMainWindow>
00005 #include "GLWindow.h"
00006 
00007 //----------------------------------------------------------------------------------------------------------------------
00020 //----------------------------------------------------------------------------------------------------------------------
00021 
00022 namespace Ui {
00023     class MainWindow;
00024 }
00025 
00026 //----------------------------------------------------------------------------------------------------------------------
00027 class MainWindow : public QMainWindow
00028 {
00029 Q_OBJECT
00030 protected :
00031 
00032 public:
00033     //----------------------------------------------------------------------------------------------------------------------
00036     //----------------------------------------------------------------------------------------------------------------------
00037     explicit MainWindow(
00038               QWidget *_parent = 0
00039               );
00040     //----------------------------------------------------------------------------------------------------------------------
00042     //----------------------------------------------------------------------------------------------------------------------
00043     ~MainWindow();
00045     //----------------------------------------------------------------------------------------------------------------------
00046 private slots :
00047     //----------------------------------------------------------------------------------------------------------------------
00049     //----------------------------------------------------------------------------------------------------------------------
00050     void toggleTerrainButton();
00051     //----------------------------------------------------------------------------------------------------------------------
00053     //----------------------------------------------------------------------------------------------------------------------
00054     void toggleGenerateButton();
00055     //----------------------------------------------------------------------------------------------------------------------
00057     //----------------------------------------------------------------------------------------------------------------------
00058     void toggleEditButton();
00059     //----------------------------------------------------------------------------------------------------------------------
00061     //----------------------------------------------------------------------------------------------------------------------
00062     void toggleWind();
00063     //----------------------------------------------------------------------------------------------------------------------
00066     //----------------------------------------------------------------------------------------------------------------------
00067     void setNewMoisture(
00068                        double _currentTemp
00069                        );
00070     //----------------------------------------------------------------------------------------------------------------------
00073     //----------------------------------------------------------------------------------------------------------------------
00074     void setNewObjMaximum(
00075                          int _newObjAmount
00076                          );
00077     //----------------------------------------------------------------------------------------------------------------------
00079     //----------------------------------------------------------------------------------------------------------------------
00080     void increaseFuelLength();
00081     //----------------------------------------------------------------------------------------------------------------------
00083     //----------------------------------------------------------------------------------------------------------------------
00084     void increaseFuelHeight();
00085     //----------------------------------------------------------------------------------------------------------------------
00087     //----------------------------------------------------------------------------------------------------------------------
00088     void decreaseFuelLength();
00089     //----------------------------------------------------------------------------------------------------------------------
00091     //----------------------------------------------------------------------------------------------------------------------
00092     void decreaseFuelHeight();
00093     
00094     //----------------------------------------------------------------------------------------------------------------------
00097     //----------------------------------------------------------------------------------------------------------------------
00098     void setNewMaximum(
00099                       int _newMaximum
00100                       );
00101 
00102 private:
00103     //----------------------------------------------------------------------------------------------------------------------
00105     //----------------------------------------------------------------------------------------------------------------------
00106     Ui::MainWindow *m_ui;
00107 
00108     //----------------------------------------------------------------------------------------------------------------------
00110     //----------------------------------------------------------------------------------------------------------------------
00111     GLWindow *m_gl;
00112 
00113     //----------------------------------------------------------------------------------------------------------------------
00115     //----------------------------------------------------------------------------------------------------------------------
00116     double m_previousTemp;
00117 
00118 };
00119 
00120 #endif // _MAINWINDOW_H_
00121 
00122 //----------------------------------------------------------------------------------------------------------------------
 All Classes Namespaces Files Functions Variables Enumerations Enumerator