This repository has been archived on 2022-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
modern-linbo-gui/headers/legacy/linboProgressImpl.hh
Dorian Zedler d2a165a1ec
- Sorted some stuff
- Began to implement new GUI
2020-11-16 00:31:28 +01:00

49 lines
1 KiB
C++

#ifndef LINBOPROGRESSIMPL_HH
#define LINBOPROGRESSIMPL_HH
#include "ui_linboProgress.h"
// #include "linboProgress.hh"
#include <qobject.h>
#include <qwidget.h>
#include <qdialog.h>
#include <QProcess>
#include <QTimer>
#include <qpushbutton.h>
#include <QTextEdit>
#include "linboLogConsole.hh"
class linboLogConsole;
class linboProgressImpl : public QWidget, public Ui::linboProgress
{
Q_OBJECT
private:
QProcess *myProcess;
QTextEdit* Console;
QWidget *myParent;
QTimer* myTimer;
int time, minutes,seconds;
QString minutestr,secondstr;
linboLogConsole *logConsole;
public:
linboProgressImpl( QWidget* parent = 0 );
~linboProgressImpl();
void setProcess( QProcess* newProcess );
void setTextBrowser( const QString& new_consolefontcolorstdout,
const QString& new_consolefontcolorstderr,
QTextEdit* newBrowser );
public slots:
void killLinboCmd();
void startTimer();
void processTimer();
void processFinished( int retval,
QProcess::ExitStatus status);
};
#endif