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

Login to DB. More...

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

Public Member Functions

 CDbLoginComponent (QWidget *parent=nullptr)
 Constructor.
 
virtual ~CDbLoginComponent ()
 Destructor.
 
swift::misc::network::CAuthenticatedUser getDbUser () const
 DB user.
 
bool isUserAuthenticated () const
 Is user authenticated?
 
- 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?
 

Additional Inherited Members

- Protected Member Functions inherited from swift::gui::CLoadIndicatorEnabled
void centerLoadIndicator ()
 Center load indicator.
 
virtual void indicatorTimedOut ()
 Indicator timed out. More...
 
- 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

Login to DB.

See also
swift::core::db::CDatabaseAuthenticationService

Definition at line 33 of file dblogincomponent.h.


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