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

omgclimateconverter.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 OMGCLIMATECONVERTER_H
00022 #define OMGCLIMATECONVERTER_H
00023 
00024 #include <ui_omgclimateconverterbase.h>
00025 class OmgClimateImporter;
00026 
00027 
00028 //
00029 // QT includes
00030 //
00031 #include <QDialog>
00032 
00039 class OmgClimateConverter : public QDialog, private Ui::OmgClimateConverterBase
00040 {
00041   Q_OBJECT;
00042 
00043 public:
00044   OmgClimateConverter(QWidget* parent = 0, Qt::WFlags fl = 0 );
00045   ~OmgClimateConverter();
00046 
00047 private slots:
00051   void accept();
00052   void on_pbnSelectFile_clicked();
00053   void on_pbnSelectDir_clicked();
00057   void on_pbnProcess_clicked();
00058   void error(QString theError);
00059   void message(QString theMessage);
00060   void updateProgress (int theCurrentValue, int theMaximumValue);
00061 
00062 private:
00063   void readSettings();
00064   void writeSettings();
00065   QString mLastDir;
00066   OmgClimateImporter * mpOmgClimateImporter;
00067 };
00068 #endif //OMGCLIMATECONVERTER_H

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