swift
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swift::gui::CLoadIndicatorEnabled Class Reference

Enable widget class for load indicator. More...

Inheritance diagram for swift::gui::CLoadIndicatorEnabled:
[legend]

Public Member Functions

 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

void centerLoadIndicator ()
 Center load indicator.
 
virtual void indicatorTimedOut ()
 Indicator timed out. More...
 

Protected Attributes

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

Enable widget class for load indicator.

Definition at line 120 of file loadindicator.h.

Member Function Documentation

◆ indicatorTimedOut()

void swift::gui::CLoadIndicatorEnabled::indicatorTimedOut ( )
protectedvirtual

Indicator timed out.

Remarks
override for usage

Definition at line 215 of file loadindicator.cpp.


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