tsMuxer/tsMuxerGUI/muxForm.h

30 lines
628 B
C
Raw Normal View History

#ifndef MUX_FORM_H_
#define MUX_FORM_H_
#include <QtGui>
#include "ui_muxForm.h"
2019-07-15 16:52:40 +01:00
class MuxForm: public QDialog//QWidget
{
Q_OBJECT
public:
explicit MuxForm(QWidget* parent);
void prepare(const QString& label);
void setProgress(int value);
void addStdOutLine(const QString& line);
void addStdErrLine(const QString& line);
void muxFinished(int exitCode, const QString& prefix);
void setProcess(QProcess* proc);
protected:
virtual void closeEvent (QCloseEvent * event );
private slots:
void onProgressChanged();
void onAbort();
private:
int errCnt;
Ui_muxForm ui;
QProcess* muxProcess;
};
#endif