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=nullptr, 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 |
The DlgRunExternal class implements a dialog to start and control external programs to edit FreeCAD controlled content.
DlgRunExternal::DlgRunExternal | ( | QWidget * | parent = nullptr , |
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(), Gui::Dialog::Ui_DlgRunExternal::buttonAbort, Gui::Dialog::Ui_DlgRunExternal::buttonAccept, Gui::Dialog::Ui_DlgRunExternal::buttonAdvanced, Gui::Dialog::Ui_DlgRunExternal::buttonDiscard, draftgeoutils.intersections::connect(), Gui::Dialog::Ui_DlgRunExternal::extensionWidget, finished(), Gui::Dialog::Ui_DlgRunExternal::gridLayout, process, reject(), and Gui::Dialog::Ui_DlgRunExternal::setupUi().
|
virtual |
Destroys the object and frees any allocated resources.
|
protectedvirtualslot |
References process, and reject().
Referenced by PathPythonGui.simple_edit_panel.SimpleEditPanel::clicked(), DlgRunExternal(), and femsolver.run.Machine::run().
|
protectedvirtualslot |
|
protectedvirtualslot |
References advancedHidden, and Gui::Dialog::Ui_DlgRunExternal::extensionWidget.
Referenced by DlgRunExternal().
int DlgRunExternal::Do | ( | void | ) |
|
protectedslot |
|
protectedslot |
References Gui::Dialog::Ui_DlgRunExternal::programPath.
|
protectedvirtualslot |
Referenced by abort(), draftguitools.gui_hatch.Draft_Hatch_TaskPanel::accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), femexamples.examplesgui.FemExamples::clicked(), DlgRunExternal(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
|
protected |
Referenced by advanced().
QStringList Gui::Dialog::DlgRunExternal::arguments |
|
protected |
Referenced by abort(), DlgRunExternal(), and Do().
QString Gui::Dialog::DlgRunExternal::ProcName |
Referenced by Do().