submitdescriptiondialog.h

00001 /****************************************************************************
00002 **
00003 ** Copyright (C) 2004-2006 Trolltech AS. All rights reserved.
00004 **
00005 ** This file is part of the example classes of the Qt Toolkit.
00006 **
00007 ** This file may be used under the terms of the GNU General Public
00008 ** License version 2.0 as published by the Free Software Foundation
00009 ** and appearing in the file LICENSE.GPL included in the packaging of
00010 ** this file.  Please review the following information to ensure GNU
00011 ** General Public Licensing requirements will be met:
00012 ** http://www.trolltech.com/products/qt/opensource.html
00013 **
00014 ** If you are unsure which license is appropriate for your use, please
00015 ** review the following information:
00016 ** http://www.trolltech.com/products/qt/licensing.html or contact the
00017 ** sales department at sales@trolltech.com.
00018 **
00019 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00020 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00021 **
00022 ****************************************************************************/
00033 #ifndef SUBMITDESCRIPTIONDIALOG_H
00034 #define SUBMITDESCRIPTIONDIALOG_H
00035 
00036 #include <QDialog>
00037 #include <QDebug>
00038 #include "utilities.h"
00039 #include "ui_submitDescriptionDialog.h"
00040 
00041 // static enum StringValue { executable,input,output,error,arguments,initialdir,should_transfer_files, when_to_transfer_output, transfer_input_files, transfer_output_files, requirements, rank, universe,  on_exit_remove, on_exit_hold, periodic_remove, periodic_hold, periodic_release , prioritynotification , notification, copy_to_spool, getenv, hold, environment, log, log_xml, jar_files, image_size, machine_count, coresize, nice_user, kill_sig, remove_kill_sig, hold_kill_sig, compress_files, fetch_files, append_files, local_files, file_remaps, buffer_files, buffer_size, buffer_block_size, rendezvousdir, x509userproxy, globusscheduler, globusrsl, globus_resubmit, globus_rematch, leave_in_queue, match_list_length, transfer_output, transfer_input, transfer_error, transfer_executable, remote_initialdir, stream_output, stream_error, +, queue, allow_startup_script };
00042 
00043 // static std::map<std::string, StringValue> s_mapStringValues;
00044                           
00045 class SubmitDescriptionDialog : public QDialog
00046 {
00047         Q_OBJECT
00048         public:
00049                 SubmitDescriptionDialog(QWidget *parent = 0);
00050                 SubmitDescriptionDialog(QStringList);
00051                 SubmitDescriptionDialog(QString filename, QStringList);
00052                 
00053         private:
00055                 Ui::submitDescriptionDialog ui;
00057                 QString m_file;
00058                 QStringList validateArgs();
00060                 QStringList m_dirBrowse;
00061                 
00062         private slots:
00063                 void accept();
00064                 void save();
00065                 void saveAs();
00066                 void changeWhenToTransfer(int index);
00067                 void executableButton();
00068                 void inputButton();
00069                 void outputButton();
00070                 void errorButton();
00071                 void initialdirButton();
00072                 void transferInputButton();
00073                 void transferOutputButton();
00074                 void logButton();
00075                 void jar_filesButton();
00076                 void compress_filesButton();
00077                 void fetch_filesButton();
00078                 void append_filesButton();
00079                 void local_filesButton();
00080                 void renderzvousdirButton();
00081                 void x509userProxyButton();
00082                 void remote_initialdirButton();
00083                 
00084         signals:
00086                 void sendFile(QString);
00087 };
00088 #endif
00089 

Generated on Sun Jan 14 23:38:42 2007 for QCondor by  doxygen 1.4.7