diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-12-05 09:26:43 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-12-05 13:58:00 +0100 |
commit | 89a3723bdc5d563f036c1a579c3d3539cc8fc6e7 (patch) | |
tree | 08c295ecb2a409cf536c049e0a33e86b902ee470 /src/qt/modaloverlay.h | |
parent | d04aebaec7bbf4095bd4f6a715eb6ee834857115 (diff) |
[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.h | 2 |
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); |