Gui::Dialog::DlgRunExternal Class Reference

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
 

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 = nullptr,
Qt::WindowFlags  fl = Qt::WindowFlags() 
)

◆ ~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

◆ Do()

◆ 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: