summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-25 12:49:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-25 13:07:20 -0700
commit0db80103caa7534db7eb9d169dc97d79ab259e4e (patch)
tree5ae1212fcc885086d4d6862b30b037400f73e92c /qt-ui/mainwindow.h
parent6721698fcdad179a6fd770cafd009c3467e6ac06 (diff)
downloadsubsurface-0db80103caa7534db7eb9d169dc97d79ab259e4e.tar.gz
Add spinner while opening or saving cloud storage
Right now this is quite ugly. And at least in my VM the transparency doesn't seem to work correctly. But at least we now have some visual indication that we are doing something while opening or saving cloud storage. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 226e9b6ee..759132146 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -15,6 +15,7 @@
#include "ui_mainwindow.h"
#include "notificationwidget.h"
#include "windowtitleupdate.h"
+#include "qtwaitingspinner.h"
struct DiveList;
class QSortFilterProxyModel;
@@ -189,7 +190,8 @@ slots:
void planCreated();
void setEnabledToolbar(bool arg1);
void setPlanNotes();
-
+ void startSpinner();
+ void stopSpinner();
private:
Ui::MainWindow ui;
@@ -244,6 +246,7 @@ private:
QHash<QByteArray, PropertiesForQuadrant> stateProperties;
WindowTitleUpdate *wtu;
+ QtWaitingSpinner *spinner;
};
#endif // MAINWINDOW_H