blob: bf601043a83222df5cbfedcc8744cb743e625325 (
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
41
42
|
#ifndef BUGDIALOG_H
#define BUGDIALOG_H
#include "guiSQLiteStudio_global.h"
#include <QDialog>
namespace Ui {
class BugDialog;
}
class GUI_API_EXPORT BugDialog : public QDialog
{
Q_OBJECT
public:
explicit BugDialog(QWidget *parent = 0);
~BugDialog();
void setFeatureRequestMode(bool feature);
private:
void init();
static QString getMessageAboutReportHistory();
static void finishedBugReport(bool success, const QString& errorMsg);
static void finishedFeatureRequest(bool success, const QString& errorMsg);
Ui::BugDialog *ui = nullptr;
bool bugMode = true;
QString user;
private slots:
void updateState();
void validate();
void help();
void logIn();
public slots:
void accept();
};
#endif // BUGDIALOG_H
|