The DlgRunExternal class implements a dialog to start and control external programms to edit FreeCAD controled content. More...
#include <DlgRunExternal.h>
Public Member Functions | |
DlgRunExternal (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructs a DlgRunExternal which is a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
int | Do (void) |
virtual | ~DlgRunExternal () |
Destroys the object and frees any allocated resources. | |
Public Attributes | |
QStringList | arguments |
QString | ProcName |
Protected Slots | |
virtual void | abort (void) |
virtual void | accept (void) |
virtual void | advanced (void) |
void | finished (int exitCode, QProcess::ExitStatus exitStatus) |
void | on_chooseProgram_clicked () |
virtual void | reject (void) |
Protected Attributes | |
bool | advancedHidden |
QProcess | process |
The DlgRunExternal class implements a dialog to start and control external programms to edit FreeCAD controled content.
Definition at line 39 of file DlgRunExternal.h.
DlgRunExternal::DlgRunExternal | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
Constructs a DlgRunExternal which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
The dialog will by default be modeless, unless you set 'modal' to TRUE to construct a modal dialog.
Definition at line 49 of file DlgRunExternal.cpp.
References abort(), accept(), advanced(), Gui::Dialog::Ui_DlgRunExternal::buttonAbort, Gui::Dialog::Ui_DlgRunExternal::buttonAccept, Gui::Dialog::Ui_DlgRunExternal::buttonAdvanced, Gui::Dialog::Ui_DlgRunExternal::buttonDiscard, draftlibs::fcgeo::connect(), Gui::Dialog::Ui_DlgRunExternal::extensionWidget, finished(), Gui::Dialog::Ui_DlgRunExternal::gridLayout, process, reject(), and Gui::Dialog::Ui_DlgRunExternal::setupUi().
DlgRunExternal::~DlgRunExternal | ( | ) | [virtual] |
Destroys the object and frees any allocated resources.
Definition at line 68 of file DlgRunExternal.cpp.
void DlgRunExternal::abort | ( | void | ) | [protected, virtual, slot] |
Definition at line 97 of file DlgRunExternal.cpp.
References process, and reject().
Referenced by DlgRunExternal().
void DlgRunExternal::accept | ( | void | ) | [protected, virtual, slot] |
Definition at line 92 of file DlgRunExternal.cpp.
Referenced by DlgRunExternal().
void DlgRunExternal::advanced | ( | void | ) | [protected, virtual, slot] |
Definition at line 103 of file DlgRunExternal.cpp.
References advancedHidden, and Gui::Dialog::Ui_DlgRunExternal::extensionWidget.
Referenced by DlgRunExternal().
int DlgRunExternal::Do | ( | void | ) |
Reimplemented in Gui::Dialog::DlgEditFileIncludePropertyExternal.
Definition at line 74 of file DlgRunExternal.cpp.
References arguments, Gui::Dialog::Ui_DlgRunExternal::buttonAccept, Gui::Dialog::Ui_DlgRunExternal::buttonDiscard, process, ProcName, Gui::Dialog::Ui_DlgRunExternal::programName, and Gui::Dialog::Ui_DlgRunExternal::programPath.
void DlgRunExternal::finished | ( | int | exitCode, | |
QProcess::ExitStatus | exitStatus | |||
) | [protected, slot] |
Definition at line 115 of file DlgRunExternal.cpp.
References Gui::Dialog::Ui_DlgRunExternal::buttonAbort, Gui::Dialog::Ui_DlgRunExternal::buttonAccept, and Gui::Dialog::Ui_DlgRunExternal::buttonDiscard.
Referenced by DlgRunExternal().
void DlgRunExternal::on_chooseProgram_clicked | ( | ) | [protected, slot] |
Definition at line 122 of file DlgRunExternal.cpp.
References Gui::Dialog::Ui_DlgRunExternal::programPath.
void DlgRunExternal::reject | ( | void | ) | [protected, virtual, slot] |
Definition at line 87 of file DlgRunExternal.cpp.
Referenced by abort(), and DlgRunExternal().
bool Gui::Dialog::DlgRunExternal::advancedHidden [protected] |
Definition at line 62 of file DlgRunExternal.h.
Referenced by advanced().
QStringList Gui::Dialog::DlgRunExternal::arguments |
Definition at line 50 of file DlgRunExternal.h.
Referenced by Do(), and Gui::Dialog::DlgEditFileIncludePropertyExternal::Do().
QProcess Gui::Dialog::DlgRunExternal::process [protected] |
Definition at line 61 of file DlgRunExternal.h.
Referenced by abort(), DlgRunExternal(), and Do().
Definition at line 49 of file DlgRunExternal.h.
Referenced by Do().