#include <holddialog.h>
Public Member Functions | |
| HoldDialog (QWidget *parent=0) | |
| HoldDialog (QString path) | |
| HoldDialog (QStringList args, QString Path) | |
| ~HoldDialog () | |
Private Slots | |
| void | accept () |
| void | errorControl (int, QProcess::ExitStatus) |
| void | enable (int) |
Private Attributes | |
| Ui::holdDialog | ui |
| Contains the object designed by QtDesigner. | |
| QProcess * | m_proc |
| Contains the object for execute commands. | |
| QString | m_path |
| Contains the configuration file. | |
| HoldDialog::HoldDialog | ( | QWidget * | parent = 0 |
) |
Construct an empty dialog
| HoldDialog::HoldDialog | ( | QString | path | ) |
Construct a dialog
| path | specify the path of the command |
| HoldDialog::HoldDialog | ( | 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 |
| HoldDialog::~HoldDialog | ( | ) |
Destructor
| void HoldDialog::accept | ( | ) | [private, slot] |
Execute the command with the arguments specify in the dialog
| void HoldDialog::enable | ( | int | state | ) | [private, slot] |
enable/disable the grupbox designed with QtDesigner
| void HoldDialog::errorControl | ( | int | exitCode, | |
| QProcess::ExitStatus | exitStatus | |||
| ) | [private, slot] |
Report the output of the command.
1.4.7