nextpnr/gui/mainwindow.h

34 lines
566 B
C
Raw Normal View History

2018-06-14 18:37:57 +02:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
2018-06-14 18:53:48 +02:00
#include "infotab.h"
2018-06-14 18:37:57 +02:00
#include "nextpnr.h"
#include <QMainWindow>
#include <QTabWidget>
// FIXME
USING_NEXTPNR_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(Design *design, QWidget *parent = 0);
~MainWindow();
Design *getDesign() { return design; }
private:
void createMenusAndBars();
2018-06-14 18:37:57 +02:00
private Q_SLOTS:
2018-06-15 11:10:11 +02:00
void writeInfo(std::string text);
2018-06-14 18:37:57 +02:00
private:
Design *design;
InfoTab *info;
};
#endif // MAINWINDOW_H