diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-07 09:09:00 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-13 12:11:21 -0600 |
commit | 1257064e43c6c4269e1b8cf0507b238fd4a0ab1a (patch) | |
tree | 7c025c87b292bb6ab046cb13aa71042b14510e3a /ui/qt5/runner/executepage.hh | |
parent | 70104d361e8ac781ffa50ac404e1e286e1239b43 (diff) | |
download | horizon-1257064e43c6c4269e1b8cf0507b238fd4a0ab1a.tar.gz horizon-1257064e43c6c4269e1b8cf0507b238fd4a0ab1a.tar.bz2 horizon-1257064e43c6c4269e1b8cf0507b238fd4a0ab1a.tar.xz horizon-1257064e43c6c4269e1b8cf0507b238fd4a0ab1a.zip |
Qt UI: runner: Add error page
Diffstat (limited to 'ui/qt5/runner/executepage.hh')
-rw-r--r-- | ui/qt5/runner/executepage.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt5/runner/executepage.hh b/ui/qt5/runner/executepage.hh index b3d11b4..57d38da 100644 --- a/ui/qt5/runner/executepage.hh +++ b/ui/qt5/runner/executepage.hh @@ -1,5 +1,5 @@ /* - * executepage.cc - Implementation of the UI.Perform page + * executepage.hh - Defintion of the UI.Perform page * horizon-run-qt5, the Qt 5 executor user interface for * Project Horizon * @@ -33,6 +33,9 @@ public: }; ExecutePage(QWidget *parent = nullptr); + int nextId() const; + Phase currentPhase() { return this->current; } + private: QLabel *prepareStatus; QLabel *prepare; @@ -55,6 +58,7 @@ private: QFile log; Phase current; + bool failed; Phase stepToPhase(QString step); void labelsForPhase(Phase phase, QLabel **icon, QLabel **text); |