Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

omgclimatedataprocessorgui.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Tim Sutton   *
00003  *   tim@linfiniti.com   *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 
00021 #ifndef OMGCLIMATEDATAPROCESSORGUI_H
00022 #define OMGCLIMATEDATAPROCESSORGUI_H
00023 
00024 //I had to break my naming convention a bit here and 
00025 //use the word gui because we already have another class
00026 //with the same name in lib/omgclimatedataprocessor.h
00027 #include <ui_omgclimatedataprocessorguibase.h>
00028 
00029 
00030 //
00031 // QT includes
00032 //
00033 #include <QDialog>
00034 
00041 class OmgClimateDataProcessorGui : public QDialog, private Ui::OmgClimateDataProcessorGuiBase
00042 {
00043   Q_OBJECT;
00044 
00045 public:
00046   OmgClimateDataProcessorGui(QWidget* parent = 0, Qt::WFlags fl = 0 );
00047   ~OmgClimateDataProcessorGui();
00048 
00049 private slots:
00053   void accept();
00054   void on_pbnSelectFile_clicked();
00055   void on_pbnSelectDir_clicked();
00059   void on_pbnProcess_clicked();
00060   void error(QString theError);
00061   void message(QString theMessage);
00062   void updateProgress (int theCurrentValue, int theMaximumValue);
00063 
00064 private:
00065   void readSettings();
00066   void writeSettings();
00067   QString mLastDir;
00068 };
00069 #endif //OMGCLIMATEDATAPROCESSORGUI_H

Generated on Mon Apr 28 15:07:09 2008 for openModellerDesktop by  doxygen 1.4.1-20050210