00001
00002
00003
00004
00005
00006
00007 #ifndef BALL_VIEW_DIALOGS_RUNGAMESSDIALOG_H
00008 #define BALL_VIEW_DIALOGS_RUNGAMESSDIALOG_H
00009
00010 #ifndef BALL_COMMON_GLOBAL_H
00011 # include <BALL/COMMON/global.h>
00012 #endif
00013
00014 #ifndef BALL_SYSTEM_PATH_H
00015 # include <BALL/SYSTEM/path.h>
00016 #endif
00017
00018 #ifndef BALL_FORMAT_GAMESSDATFILE_H
00019 # include <BALL/FORMAT/GAMESSDatFile.h>
00020 #endif
00021
00022 #ifdef BALL_COMPILER_MSVC
00023 # include <BALL/VIEW/UIC/ui_runGAMESSDialog.h>
00024 #else
00025 # include <BALL/VIEW/UIC/runGAMESSDialogData.h>
00026 #endif
00027
00028
00029 namespace BALL
00030 {
00031 namespace VIEW
00032 {
00036 class BALL_VIEW_EXPORT RunGAMESSDialog
00037 : public QDialog,
00038 public Ui_RunGAMESSDialogData
00039 {
00040 Q_OBJECT
00041
00042 public:
00044 RunGAMESSDialog(QWidget* parent = NULL, const char* name = "RunGAMESSDialog");
00046 virtual ~RunGAMESSDialog();
00047
00048 public slots:
00050 void accept();
00051
00053 virtual void saveGAMESSInput();
00054
00055 protected:
00056 String extractValue_(const QComboBox* box);
00057 void setParameters_();
00058 GAMESSDatFile outfile_;
00059 };
00060 }
00061 }
00062
00063 #endif // BALL_VIEW_DIALOGS_RUNGAMESSDIALOG_H