blob: 131ba3d252fb50e970d9aaf864378dc8f2991591 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef BUGREPORTLOGINDIALOG_H
#define BUGREPORTLOGINDIALOG_H
#include "guiSQLiteStudio_global.h"
#include <QDialog>
namespace Ui {
class BugReportLoginDialog;
}
class WidgetCover;
class GUI_API_EXPORT BugReportLoginDialog : public QDialog
{
Q_OBJECT
public:
explicit BugReportLoginDialog(QWidget *parent = 0);
~BugReportLoginDialog();
bool isValid() const;
QString getLogin() const;
QString getPassword() const;
private:
void init();
Ui::BugReportLoginDialog *ui = nullptr;
bool validCredentials = false;
WidgetCover* widgetCover = nullptr;
private slots:
void credentialsChanged();
void validate();
void abortRemoteValidation();
void remoteValidation();
void remoteValidationResult(bool success, const QString& errorMessage);
};
#endif // BUGREPORTLOGINDIALOG_H
|