summaryrefslogtreecommitdiff
path: root/ui/qt5/runner/executepage.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-07 09:09:00 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-13 12:11:21 -0600
commit1257064e43c6c4269e1b8cf0507b238fd4a0ab1a (patch)
tree7c025c87b292bb6ab046cb13aa71042b14510e3a /ui/qt5/runner/executepage.hh
parent70104d361e8ac781ffa50ac404e1e286e1239b43 (diff)
downloadhorizon-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.hh6
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);