mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-17 13:40:43 +02:00
qt, refactor: Cleanup ModalOverlay slots
This commit is contained in:
parent
ca055885c6
commit
e74cd2083d
@ -25,16 +25,17 @@ public:
|
|||||||
explicit ModalOverlay(bool enable_wallet, QWidget *parent);
|
explicit ModalOverlay(bool enable_wallet, QWidget *parent);
|
||||||
~ModalOverlay();
|
~ModalOverlay();
|
||||||
|
|
||||||
public Q_SLOTS:
|
|
||||||
void tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress);
|
void tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress);
|
||||||
void setKnownBestHeight(int count, const QDateTime& blockDate);
|
void setKnownBestHeight(int count, const QDateTime& blockDate);
|
||||||
|
|
||||||
void toggleVisibility();
|
|
||||||
// will show or hide the modal layer
|
// will show or hide the modal layer
|
||||||
void showHide(bool hide = false, bool userRequested = false);
|
void showHide(bool hide = false, bool userRequested = false);
|
||||||
void closeClicked();
|
|
||||||
bool isLayerVisible() const { return layerIsVisible; }
|
bool isLayerVisible() const { return layerIsVisible; }
|
||||||
|
|
||||||
|
public Q_SLOTS:
|
||||||
|
void toggleVisibility();
|
||||||
|
void closeClicked();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject * obj, QEvent * ev) override;
|
bool eventFilter(QObject * obj, QEvent * ev) override;
|
||||||
bool event(QEvent* ev) override;
|
bool event(QEvent* ev) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user