The DlgRunExternal class implements a dialog to start and control external programs to edit FreeCAD controlled content. More...
#include <DlgRunExternal.h>
Public Member Functions | |
DlgRunExternal (QWidget *parent=0, Qt::WindowFlags fl=Qt::WindowFlags()) | |
Constructs a DlgRunExternal which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
int | Do (void) |
virtual | ~DlgRunExternal () |
Destroys the object and frees any allocated resources. More... | |
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 |
Detailed Description
The DlgRunExternal class implements a dialog to start and control external programs to edit FreeCAD controlled content.
Constructor & Destructor Documentation
◆ DlgRunExternal()
DlgRunExternal::DlgRunExternal | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
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.
References abort(), accept(), advanced(), draftgeoutils.intersections::connect(), finished(), process, and reject().
◆ ~DlgRunExternal()
|
virtual |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ abort
|
protectedvirtualslot |
References process, and reject().
Referenced by PathScripts.PathDressupLeadInOut.TaskPanel::clicked(), DlgRunExternal(), and femsolver.run.Machine::run().
◆ accept
|
protectedvirtualslot |
◆ advanced
|
protectedvirtualslot |
References advancedHidden.
Referenced by DlgRunExternal().
◆ Do()
int DlgRunExternal::Do | ( | void | ) |
References arguments, process, and ProcName.
Referenced by Gui::Dialog::DlgEditFileIncludePropertyExternal::Do().
◆ finished
|
protectedslot |
Referenced by femtools.ccxtools.FemToolsCcx::ccx_run(), and DlgRunExternal().
◆ on_chooseProgram_clicked
|
protectedslot |
◆ reject
|
protectedvirtualslot |
Member Data Documentation
◆ advancedHidden
|
protected |
Referenced by advanced().
◆ arguments
QStringList Gui::Dialog::DlgRunExternal::arguments |
◆ process
|
protected |
Referenced by abort(), DlgRunExternal(), and Do().
◆ ProcName
QString Gui::Dialog::DlgRunExternal::ProcName |
Referenced by Do().
The documentation for this class was generated from the following files:
- Sources/FreeCAD/src/Gui/DlgRunExternal.h
- Sources/FreeCAD/src/Gui/DlgRunExternal.cpp