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=nullptr)
 
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 = nullptr)

◆ ~GraphvizWorker()

virtual Gui::GraphvizWorker::~GraphvizWorker ( )
virtual

Member Function Documentation

◆ dotProcess()

QProcess * Gui::GraphvizWorker::dotProcess ( )

◆ emitFinished

void Gui::GraphvizWorker::emitFinished ( )
signal

Referenced by startThread().

◆ error

◆ run()

◆ setData()

void Gui::GraphvizWorker::setData ( const QByteArray &  data)

◆ startThread()

void Gui::GraphvizWorker::startThread ( )

References emitFinished(), and run().

◆ svgFileRead

void Gui::GraphvizWorker::svgFileRead ( const QByteArray &  data)
signal

Referenced by run().

◆ unflattenProcess()

QProcess * Gui::GraphvizWorker::unflattenProcess ( )

The documentation for this class was generated from the following file: