aboutsummaryrefslogtreecommitdiffstats
path: root/gui/basewindow.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-15 20:31:42 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-15 20:31:42 +0200
commit8e12ae2cfed728ee1ecab4e5f60f0435bf2d58b8 (patch)
tree3fe3251b2217747bcad8967cdb551ed1fa18a1a3 /gui/basewindow.h
parentecc4c3fa7bdf1726377cd5cf2199b3cabd233427 (diff)
downloadnextpnr-8e12ae2cfed728ee1ecab4e5f60f0435bf2d58b8.tar.gz
nextpnr-8e12ae2cfed728ee1ecab4e5f60f0435bf2d58b8.tar.bz2
nextpnr-8e12ae2cfed728ee1ecab4e5f60f0435bf2d58b8.zip
Added splash screen info while loading
Diffstat (limited to 'gui/basewindow.h')
-rw-r--r--gui/basewindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/basewindow.h b/gui/basewindow.h
index 4d3d80a1..18b5339e 100644
--- a/gui/basewindow.h
+++ b/gui/basewindow.h
@@ -26,6 +26,7 @@
#include <QMenu>
#include <QMenuBar>
#include <QProgressBar>
+#include <QSplashScreen>
#include <QStatusBar>
#include <QTabWidget>
#include <QToolBar>
@@ -36,6 +37,7 @@ Q_DECLARE_METATYPE(NEXTPNR_NAMESPACE_PREFIX DecalXY)
NEXTPNR_NAMESPACE_BEGIN
class PythonTab;
+class DesignWidget;
class BaseMainWindow : public QMainWindow
{
@@ -48,9 +50,11 @@ class BaseMainWindow : public QMainWindow
protected:
void createMenusAndBars();
+ void displaySplash();
protected Q_SLOTS:
void writeInfo(std::string text);
+ void displaySplashMessage(std::string msg);
virtual void new_proj() = 0;
virtual void open_proj() = 0;
@@ -72,6 +76,8 @@ class BaseMainWindow : public QMainWindow
QAction *actionNew;
QAction *actionOpen;
QProgressBar *progressBar;
+ QSplashScreen *splash;
+ DesignWidget *designview;
};
NEXTPNR_NAMESPACE_END