Bitcoin Core  0.15.99
P2P Digital Currency
Public Slots | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ModalOverlay Class Reference

Modal overlay to display information about the chain-sync state. More...

#include <modaloverlay.h>

Inheritance diagram for ModalOverlay:
[legend]
Collaboration diagram for ModalOverlay:
[legend]

Public Slots

void tipUpdate (int count, const QDateTime &blockDate, double nVerificationProgress)
 
void setKnownBestHeight (int count, const QDateTime &blockDate)
 
void toggleVisibility ()
 
void showHide (bool hide=false, bool userRequested=false)
 
void closeClicked ()
 
bool isLayerVisible () const
 

Public Member Functions

 ModalOverlay (QWidget *parent)
 
 ~ModalOverlay ()
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *ev)
 
bool event (QEvent *ev)
 Tracks parent widget changes. More...
 

Private Attributes

Ui::ModalOverlay * ui
 
int bestHeaderHeight
 
QDateTime bestHeaderDate
 
QVector< QPair< qint64, double > > blockProcessTime
 
bool layerIsVisible
 
bool userClosed
 

Detailed Description

Modal overlay to display information about the chain-sync state.

Definition at line 19 of file modaloverlay.h.

Constructor & Destructor Documentation

ModalOverlay::ModalOverlay ( QWidget *  parent)
explicit

Definition at line 15 of file modaloverlay.cpp.

Here is the call graph for this function:

ModalOverlay::~ModalOverlay ( )

Definition at line 34 of file modaloverlay.cpp.

Member Function Documentation

void ModalOverlay::closeClicked ( )
slot

Definition at line 170 of file modaloverlay.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ModalOverlay::event ( QEvent *  ev)
protected

Tracks parent widget changes.

Definition at line 56 of file modaloverlay.cpp.

bool ModalOverlay::eventFilter ( QObject *  obj,
QEvent *  ev 
)
protected

Definition at line 39 of file modaloverlay.cpp.

bool ModalOverlay::isLayerVisible ( ) const
inlineslot

Definition at line 35 of file modaloverlay.h.

Here is the caller graph for this function:

void ModalOverlay::setKnownBestHeight ( int  count,
const QDateTime &  blockDate 
)
slot

Definition at line 69 of file modaloverlay.cpp.

Here is the caller graph for this function:

void ModalOverlay::showHide ( bool  hide = false,
bool  userRequested = false 
)
slot

Definition at line 151 of file modaloverlay.cpp.

Here is the caller graph for this function:

void ModalOverlay::tipUpdate ( int  count,
const QDateTime &  blockDate,
double  nVerificationProgress 
)
slot

Definition at line 77 of file modaloverlay.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ModalOverlay::toggleVisibility ( )
slot

Definition at line 144 of file modaloverlay.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QDateTime ModalOverlay::bestHeaderDate
private

Definition at line 44 of file modaloverlay.h.

int ModalOverlay::bestHeaderHeight
private

Definition at line 43 of file modaloverlay.h.

QVector<QPair<qint64, double> > ModalOverlay::blockProcessTime
private

Definition at line 45 of file modaloverlay.h.

bool ModalOverlay::layerIsVisible
private

Definition at line 46 of file modaloverlay.h.

Ui::ModalOverlay* ModalOverlay::ui
private

Definition at line 42 of file modaloverlay.h.

bool ModalOverlay::userClosed
private

Definition at line 47 of file modaloverlay.h.


The documentation for this class was generated from the following files: