nextpnr/gui/mainwindow.h

33 lines
516 B
C
Raw Normal View History

2018-06-05 21:03:06 +02:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
2018-06-10 18:25:23 +02:00
#include "design.h"
2018-06-05 21:03:06 +02:00
#include "emb.h"
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
2018-06-06 22:53:52 +02:00
public:
2018-06-10 18:25:23 +02:00
explicit MainWindow(Design *design, QWidget *parent = 0);
2018-06-05 21:03:06 +02:00
~MainWindow();
2018-06-06 22:53:52 +02:00
private:
2018-06-05 21:03:06 +02:00
int executePython(std::string command);
2018-06-06 22:53:52 +02:00
private Q_SLOTS:
2018-06-05 21:03:06 +02:00
void on_lineEdit_returnPressed();
2018-06-06 22:53:52 +02:00
private:
2018-06-05 21:03:06 +02:00
Ui::MainWindow *ui;
emb::stdout_write_type write;
2018-06-10 18:25:23 +02:00
Design *design;
2018-06-05 21:03:06 +02:00
};
#endif // MAINWINDOW_H