#ifndef PYTHONTAB_H #define PYTHONTAB_H #include #include #include "emb.h" #include "nextpnr.h" // FIXME USING_NEXTPNR_NAMESPACE class PythonTab : public QWidget { Q_OBJECT public: explicit PythonTab(QWidget *parent = 0); private: int executePython(std::string command); private Q_SLOTS: void editLineReturnPressed(); private: QPlainTextEdit *plainTextEdit; QLineEdit *lineEdit; emb::stdout_write_type write; }; #endif // PYTHONTAB_H