MuseScore  3.4
Music composition and notation
logindialog.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2014 Werner Schweer
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __LOGINDIALOG_H__
14 #define __LOGINDIALOG_H__
15 
16 #include "ui_logindialog.h"
17 
18 namespace Ms {
19 
20 class LoginManager;
21 
22 //---------------------------------------------------------
23 // LoginDialog
24 // Old-style login dialog in case QtWebEngine is
25 // unavailable.
26 //---------------------------------------------------------
27 
28 class LoginDialog : public QDialog, public Ui::LoginDialog
29  {
30  Q_OBJECT
31 
33 
34  virtual void hideEvent(QHideEvent*);
35 
36  signals:
37  void loginSuccessful();
38 
39  private slots:
40  void buttonBoxClicked(QAbstractButton* button);
41  void onLoginSuccess();
42  void onLoginError(const QString& error);
43  void login();
44 
45  public:
46  LoginDialog(LoginManager* loginManager);
47  };
48 }
49 
50 #endif
51 
void onLoginSuccess()
Definition: logindialog.cpp:94
LoginManager * _loginManager
Definition: logindialog.h:32
void login()
Definition: logindialog.cpp:76
Definition: loginmanager.h:26
void onLoginError(const QString &error)
Definition: logindialog.cpp:85
Definition: aeolus.cpp:26
void loginSuccessful()
LoginDialog(LoginManager *loginManager)
Definition: logindialog.cpp:36
Definition: logindialog.h:28
void buttonBoxClicked(QAbstractButton *button)
Definition: logindialog.cpp:60
virtual void hideEvent(QHideEvent *)
Definition: logindialog.cpp:104