runGAMESSDialog.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 
00005 #ifndef BALL_VIEW_DIALOGS_RUNGAMESSDIALOG_H
00006 #define BALL_VIEW_DIALOGS_RUNGAMESSDIALOG_H
00007 
00008 #ifndef BALL_COMMON_GLOBAL_H
00009 # include <BALL/COMMON/global.h>
00010 #endif
00011 
00012 #ifndef BALL_SYSTEM_PATH_H
00013 # include <BALL/SYSTEM/path.h>
00014 #endif
00015 
00016 #ifndef BALL_FORMAT_GAMESSDATFILE_H
00017 # include <BALL/FORMAT/GAMESSDatFile.h>
00018 #endif
00019 
00020 #include <BALL/VIEW/UIC/ui_runGAMESSDialog.h>
00021 
00022 namespace BALL
00023 {
00024   namespace VIEW
00025   {
00029     class BALL_VIEW_EXPORT RunGAMESSDialog
00030       : public QDialog,
00031         public Ui_RunGAMESSDialogData
00032     {
00033       Q_OBJECT
00034 
00035       public:
00037         RunGAMESSDialog(QWidget* parent = NULL, const char* name = "RunGAMESSDialog");
00039         virtual ~RunGAMESSDialog();
00040 
00041       public slots:
00043         void accept();    
00044 
00046         virtual void saveGAMESSInput();
00047         
00048       protected:
00049         String extractValue_(const QComboBox* box);
00050         void setParameters_();
00051         GAMESSDatFile outfile_;
00052     };
00053   }
00054 }
00055 
00056 #endif // BALL_VIEW_DIALOGS_RUNGAMESSDIALOG_H