Gui::GraphvizWorker Class Reference
The GraphvizWorker class. More...
Signals | |
void | emitFinished () |
void | error () |
void | svgFileRead (const QByteArray &data) |
Public Member Functions | |
QProcess * | dotProcess () |
GraphvizWorker (QObject *parent=0) | |
void | run () |
void | setData (const QByteArray &data) |
void | startThread () |
QProcess * | unflattenProcess () |
virtual | ~GraphvizWorker () |
Detailed Description
The GraphvizWorker class.
Implements a QThread class that does the actual conversion from dot to svg. All critical communication is done using queued signals.
Constructor & Destructor Documentation
◆ GraphvizWorker()
Gui::GraphvizWorker::GraphvizWorker | ( | QObject * | parent = 0 | ) |
◆ ~GraphvizWorker()
|
virtual |
Member Function Documentation
◆ dotProcess()
QProcess* Gui::GraphvizWorker::dotProcess | ( | ) |
◆ emitFinished
|
signal |
Referenced by startThread().
◆ error
|
signal |
Referenced by run().
◆ run()
void Gui::GraphvizWorker::run | ( | ) |
References error(), App::GetApplication(), ParameterGrp::GetBool(), App::Application::GetParameterGroupByPath(), and svgFileRead().
Referenced by femsolver.task.Task::protector(), and startThread().
◆ setData()
void Gui::GraphvizWorker::setData | ( | const QByteArray & | data | ) |
◆ startThread()
void Gui::GraphvizWorker::startThread | ( | ) |
References emitFinished(), and run().
◆ svgFileRead
|
signal |
Referenced by run().
◆ unflattenProcess()
QProcess* Gui::GraphvizWorker::unflattenProcess | ( | ) |
The documentation for this class was generated from the following file:
- src/Gui/GraphvizView.cpp