itom  4.1.0
ito::PyCodeFormatter Class Reference
Inheritance diagram for ito::PyCodeFormatter:

Signals

void formattingDone (bool success, QString code)
 

Public Member Functions

 PyCodeFormatter (QObject *parent=nullptr)
 
ito::RetVal startFormatting (const QString &cmd, const QString &code, QWidget *dialogParent=nullptr)
 

Private Slots

void errorOccurred (QProcess::ProcessError error)
 
void finished (int exitCode, QProcess::ExitStatus exitStatus)
 
void readyReadStandardError ()
 
void readyReadStandardOutput ()
 
void started ()
 
void cancelRequested ()
 

Private Member Functions

ito::RetVal getPythonPath (QString &path) const
 

Private Attributes

QProcess m_process
 
QString m_currentCode
 
QString m_currentError
 
QSharedPointer< QProgressDialog > m_progressDialog
 
bool m_isCancelling
 

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