#include <qeditdialog.h>
Public Member Functions | |
QeditDialog (QWidget *parent=0) | |
QeditDialog (QString path) | |
QeditDialog (QStringList args, QString path) | |
Private Slots | |
void | accept () |
void | errorControl (int, QProcess::ExitStatus) |
Private Attributes | |
Ui::qeditDialog | ui |
Contains the object designed by QtDesigner. | |
QProcess * | m_proc |
Contains the object for execute commands. | |
QString | m_path |
Contains the configuration file. |
QeditDialog::QeditDialog | ( | QWidget * | parent = 0 |
) |
Construct an empty dialog
QeditDialog::QeditDialog | ( | QString | path | ) |
Construct a dialog
path | specify the path of the command |
QeditDialog::QeditDialog | ( | QStringList | args, | |
QString | path | |||
) |
Execute the command without showing the dialog.
args | QStringList with all necessari arguments to execute the command | |
path | specify the path of the command |
void QeditDialog::accept | ( | ) | [private, slot] |
Execute the command with the arguments specify in the dialog
void QeditDialog::errorControl | ( | int | exitCode, | |
QProcess::ExitStatus | exitStatus | |||
) | [private, slot] |
Report the output of the command.