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.

Author
Jürgen Riegel

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

DlgRunExternal::~DlgRunExternal ( )
virtual

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ abort

void DlgRunExternal::abort ( void  )
protectedvirtualslot

References process, and reject().

Referenced by DlgRunExternal(), and femsolver.run.Machine::run().

◆ accept

void DlgRunExternal::accept ( void  )
protectedvirtualslot

◆ 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

Referenced by DlgRunExternal().

◆ on_chooseProgram_clicked

void DlgRunExternal::on_chooseProgram_clicked ( )
protectedslot

◆ reject

void DlgRunExternal::reject ( void  )
protectedvirtualslot

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:
  • src/Gui/DlgRunExternal.h
  • src/Gui/DlgRunExternal.cpp