Raven Core  3.0.0
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 20 of file modaloverlay.h.

Constructor & Destructor Documentation

◆ ModalOverlay()

ModalOverlay::ModalOverlay ( QWidget *  parent)
explicit

Definition at line 16 of file modaloverlay.cpp.

Here is the call graph for this function:

◆ ~ModalOverlay()

ModalOverlay::~ModalOverlay ( )

Definition at line 35 of file modaloverlay.cpp.

Member Function Documentation

◆ closeClicked

void ModalOverlay::closeClicked ( )
slot

Definition at line 171 of file modaloverlay.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ event()

bool ModalOverlay::event ( QEvent *  ev)
protected

Tracks parent widget changes.

Definition at line 57 of file modaloverlay.cpp.

◆ eventFilter()

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

Definition at line 40 of file modaloverlay.cpp.

◆ isLayerVisible

bool ModalOverlay::isLayerVisible ( ) const
inlineslot

Definition at line 36 of file modaloverlay.h.

Here is the caller graph for this function:

◆ setKnownBestHeight

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

Definition at line 70 of file modaloverlay.cpp.

Here is the caller graph for this function:

◆ showHide

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

Definition at line 152 of file modaloverlay.cpp.

Here is the caller graph for this function:

◆ tipUpdate

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

Definition at line 78 of file modaloverlay.cpp.

◆ toggleVisibility

void ModalOverlay::toggleVisibility ( )
slot

Definition at line 145 of file modaloverlay.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bestHeaderDate

QDateTime ModalOverlay::bestHeaderDate
private

Definition at line 45 of file modaloverlay.h.

◆ bestHeaderHeight

int ModalOverlay::bestHeaderHeight
private

Definition at line 44 of file modaloverlay.h.

◆ blockProcessTime

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

Definition at line 46 of file modaloverlay.h.

◆ layerIsVisible

bool ModalOverlay::layerIsVisible
private

Definition at line 47 of file modaloverlay.h.

◆ ui

Ui::ModalOverlay* ModalOverlay::ui
private

Definition at line 43 of file modaloverlay.h.

◆ userClosed

bool ModalOverlay::userClosed
private

Definition at line 48 of file modaloverlay.h.


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