swift
Public Member Functions | Protected Member Functions | List of all members
swift::gui::components::CDbLoadOverviewComponent Class Reference

Overview about load state of DB data. More...

Inheritance diagram for swift::gui::components::CDbLoadOverviewComponent:
[legend]

Public Member Functions

 CDbLoadOverviewComponent (QWidget *parent=nullptr)
 Constructor. More...
 
virtual ~CDbLoadOverviewComponent ()
 Destructor.
 
void display ()
 Initialize.
 
void showVisibleDbRefreshButtons (bool visible)
 Visible DB refresh buttons.
 
void showVisibleSharedRefreshButtons (bool visible)
 Visible shared refresh buttons.
 
void showVisibleLoadAllButtons (bool shared, bool db, bool disk)
 Show load all buttons.
 
void loadAllFromDb ()
 Load all from DB.
 
void loadAllFromShared ()
 Load all from shared.
 
void loadAllFromResourceFiles ()
 Load all from disk (as of installation)
 
bool isLoadInProgress () const
 Is loading in progress.
 
- Public Member Functions inherited from swift::gui::CLoadIndicatorEnabled
 CLoadIndicatorEnabled (QWidget *usingWidget)
 Ctor.
 
virtual ~CLoadIndicatorEnabled ()
 Destructor.
 
 CLoadIndicatorEnabled (const CLoadIndicatorEnabled &)=delete
 Copy constructor.
 
CLoadIndicatorEnabledoperator= (const CLoadIndicatorEnabled &)=delete
 Copy assignment operator.
 
bool isShowingLoadIndicator () const
 Showing load indicator?
 
void showLoading (std::chrono::milliseconds timeout=std::chrono::milliseconds(0), bool processEvents=true)
 Show load indicator.
 
void hideLoading ()
 Hide load indicator.
 
bool isLoadInProgress () const
 Loading in progress?
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)
 
- Protected Member Functions inherited from swift::gui::CLoadIndicatorEnabled
void centerLoadIndicator ()
 Center load indicator.
 
virtual void indicatorTimedOut ()
 Indicator timed out. More...
 

Additional Inherited Members

- Protected Attributes inherited from swift::gui::CLoadIndicatorEnabled
QWidget * m_usingWidget = nullptr
 widget which uses load indicator
 
CLoadIndicatorm_loadIndicator = nullptr
 indicator itself
 
bool m_loadInProgress = false
 flag indicating loading
 
int m_indicatorId = -1
 last indicator id returned
 

Detailed Description

Overview about load state of DB data.

Definition at line 26 of file dbloadoverviewcomponent.h.

Constructor & Destructor Documentation

◆ CDbLoadOverviewComponent()

swift::gui::components::CDbLoadOverviewComponent::CDbLoadOverviewComponent ( QWidget *  parent = nullptr)
explicit

Constructor.

Fixme:
KB 201709 It is hard to judge if it is a good idea to trigger cache admit in a UI component

Definition at line 25 of file dbloadoverviewcomponent.cpp.

Member Function Documentation

◆ resizeEvent()

void swift::gui::components::CDbLoadOverviewComponent::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 117 of file dbloadoverviewcomponent.cpp.


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