#include <submitdialog.h>
Public Member Functions | |
SubmitDialog (QWidget *parent=0) | |
SubmitDialog (QString path, QStringList opaths) | |
~SubmitDialog () | |
Private Slots | |
void | accept () |
void | browse () |
void | newDescriptionFile () |
void | errorControl (int, QProcess::ExitStatus) |
void | setFileEdit (QString) |
Private Attributes | |
Ui::submitDialog | ui |
contains the ui designed by QtDesigner | |
QProcess * | m_proc |
QProcess variable to execute condor_submit command. | |
QStringList | m_dirBrowse |
the path of the directory where usually are the job descriptions | |
QString | m_path |
the path of the command condor_submit |
SubmitDialog::SubmitDialog | ( | QWidget * | parent = 0 |
) |
Construct an empty dialog
SubmitDialog::SubmitDialog | ( | QString | path, | |
QStringList | opaths | |||
) |
Construct a dialog
path | specify the path of the command | |
opaths |
SubmitDialog::~SubmitDialog | ( | ) |
Destructor
void SubmitDialog::accept | ( | ) | [private, slot] |
Execute the command with the arguments specify in the dialog
void SubmitDialog::browse | ( | ) | [private, slot] |
Open a dialog to browse a job description and, if it exist, show a SubmitDescriptionDialog with the configuration of the file.
void SubmitDialog::errorControl | ( | int | exitCode, | |
QProcess::ExitStatus | exitStatus | |||
) | [private, slot] |
Report the output of the command.
exitCode | ||
exitStatus |
void SubmitDialog::newDescriptionFile | ( | ) | [private, slot] |
Open a dialog to edit a new Job description file
void SubmitDialog::setFileEdit | ( | QString | file | ) | [private, slot] |
Set the path of the file into dialog.