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=0) | |
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 = 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.
References abort(), accept(), advanced(), 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 DlgRunExternal(), and femsolver.run.Machine::run().
◆ accept
|
protectedvirtualslot |
Referenced by DlgRunExternal(), and ArchComponent.ComponentTaskPanel::editObject().
◆ 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 DlgRunExternal().
◆ on_chooseProgram_clicked
|
protectedslot |
◆ reject
|
protectedvirtualslot |
Referenced by abort(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), and DlgRunExternal().
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:
- src/Gui/DlgRunExternal.h
- src/Gui/DlgRunExternal.cpp