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