Add recent file view, implement runtime options
diff --git a/ide/Notebook.h b/ide/Notebook.h
index 6a6541d..83f9fc7 100644
--- a/ide/Notebook.h
+++ b/ide/Notebook.h
@@ -25,6 +25,8 @@
Q_INVOKABLE void runCell(QUuid uuid);
Q_INVOKABLE void quitCell(QUuid uuid);
+ Q_INVOKABLE void runAll();
+ Q_INVOKABLE void reset();
Q_INVOKABLE void fromJson(QJsonDocument doc);
Q_INVOKABLE void open(QString path);
@@ -41,6 +43,7 @@
void cellModelChanged();
void saveError(QString message);
void savePathChanged(QString savePath);
+ void saved();
protected slots:
void cellFinishedRunning(Cell *cell, RuntimeResult result);
@@ -57,6 +60,7 @@
QThread *_rtThread;
NbRuntime *_rt;
QString _savePath = "";
+ bool _runningAll = false;
};
Q_DECLARE_METATYPE(Notebook)