mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #911, load indicator for login component
This commit is contained in:
committed by
Mathew Sutcliffe
parent
24af0f044f
commit
a5946e1727
@@ -15,6 +15,7 @@
|
||||
#include "blackcore/db/databaseauthentication.h"
|
||||
#include "blackcore/data/globalsetup.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/loadindicator.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
|
||||
#include <QFrame>
|
||||
@@ -30,7 +31,8 @@ namespace BlackGui
|
||||
/**
|
||||
* Login to DB
|
||||
*/
|
||||
class BLACKGUI_EXPORT CDbLoginComponent : public QFrame
|
||||
class BLACKGUI_EXPORT CDbLoginComponent :
|
||||
public QFrame, public BlackGui::CLoadIndicatorEnabled
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -39,7 +41,7 @@ namespace BlackGui
|
||||
explicit CDbLoginComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CDbLoginComponent();
|
||||
virtual ~CDbLoginComponent();
|
||||
|
||||
//! DB user
|
||||
BlackMisc::Network::CAuthenticatedUser getDbUser() const;
|
||||
|
||||
Reference in New Issue
Block a user