aboutsummaryrefslogtreecommitdiff
path: root/src/qt/modaloverlay.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-12-05 09:26:43 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2016-12-05 13:58:00 +0100
commit89a3723bdc5d563f036c1a579c3d3539cc8fc6e7 (patch)
tree08c295ecb2a409cf536c049e0a33e86b902ee470 /src/qt/modaloverlay.h
parentd04aebaec7bbf4095bd4f6a715eb6ee834857115 (diff)
downloadbitcoin-89a3723bdc5d563f036c1a579c3d3539cc8fc6e7.tar.xz
[Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync mode
Diffstat (limited to 'src/qt/modaloverlay.h')
-rw-r--r--src/qt/modaloverlay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h
index 66c0aa78cf..70d37b87ad 100644
--- a/src/qt/modaloverlay.h
+++ b/src/qt/modaloverlay.h
@@ -25,9 +25,11 @@ public Q_SLOTS:
void tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress);
void setKnownBestHeight(int count, const QDateTime& blockDate);
+ void toggleVisibility();
// will show or hide the modal layer
void showHide(bool hide = false, bool userRequested = false);
void closeClicked();
+ bool isLayerVisible() { return layerIsVisible; }
protected:
bool eventFilter(QObject * obj, QEvent * ev);