Added a Qt window for output
This commit is contained in:
parent
bc7521ac95
commit
9006032f27
8 changed files with 184 additions and 36 deletions
26
source/mainwindow.h
Normal file
26
source/mainwindow.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QString>
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void dataReceived(QString data);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
Loading…
Add table
Add a link
Reference in a new issue