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/linboCounterImpl.hh
Dorian Zedler d2a165a1ec
- Sorted some stuff
- Began to implement new GUI
2020-11-16 00:31:28 +01:00

50 lines
1 KiB
C++

#ifndef LINBOCOUNTERIMPL_HH
#define LINBOCOUNTERIMPL_HH
#include "ui_linboCounter.h"
#include <qobject.h>
#include <qlabel.h>
#include <qvariant.h>
#include <qwidget.h>
#include <qdialog.h>
#include <q3process.h>
#include <qstring.h>
#include <QTextEdit>
#include "linboDialog.hh"
class linboCounterImpl : public QWidget, public Ui::linboCounter, public linboDialog
{
Q_OBJECT
private:
QTextEdit *Console;
Q3Process* myProcess;
QString line;
QWidget *myMainApp,*myParent;
QStringList myCommand;
void closeEvent(QCloseEvent *event);
public:
linboCounterImpl( QWidget* parent = 0 );
~linboCounterImpl();
virtual void precmd();
virtual void postcmd();
virtual void setCommand(const QStringList& arglist);
virtual QStringList getCommand();
// not needed here
virtual void setMainApp( QWidget* newMainApp );
void setTextBrowser( QTextEdit* newBrowser );
public slots:
void readFromStderr();
void readFromStdout();
void processFinished( int retval,
QProcess::ExitStatus status);
};
#endif