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.

Author
J├╝rgen Riegel

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()

DlgRunExternal::~DlgRunExternal ( )
virtual

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ abort

void DlgRunExternal::abort ( void  )
protectedvirtualslot

◆ accept

◆ advanced

void DlgRunExternal::advanced ( void  )
protectedvirtualslot

References advancedHidden.

Referenced by DlgRunExternal().

◆ Do()

int DlgRunExternal::Do ( void  )

◆ finished

void DlgRunExternal::finished ( int  exitCode,
QProcess::ExitStatus  exitStatus 
)
protectedslot

◆ on_chooseProgram_clicked

void DlgRunExternal::on_chooseProgram_clicked ( )
protectedslot

◆ reject

Member Data Documentation

◆ advancedHidden

bool Gui::Dialog::DlgRunExternal::advancedHidden
protected

Referenced by advanced().

◆ arguments

◆ process

QProcess Gui::Dialog::DlgRunExternal::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