-
Notifications
You must be signed in to change notification settings - Fork 7
/
askModErrorDialog.h
53 lines (44 loc) · 1.16 KB
/
askModErrorDialog.h
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
43
44
45
46
47
48
49
50
51
52
53
/* OpenBRF -- by marco tarini. Provided under GNU General Public License */
#ifndef ASKMODERRORDIALOG_H
#define ASKMODERRORDIALOG_H
#include <QDialog>
#include <QUrl>
class IniData;
class ErrListModel;
class QTextBrowser;
namespace Ui {
class askModErrorDialog;
}
class AskModErrorDialog : public QDialog {
Q_OBJECT
public:
AskModErrorDialog(QWidget *parent, IniData &i, bool search, QString searchSt);
~AskModErrorDialog();
ErrListModel *model;
int i, j, kind; // file i, object j, of kind kind
int maxErr;
IniData *inidata;
QTextBrowser *te;
QString searchString;
bool searchCommonRes;
int searchToken;
void setOptions(bool, int, QString);
void getOptions(bool *, int *, QString*);
public slots:
void setup();
protected slots:
void linkClicked(const QUrl &l);
void performSearch();
void performErrorSearch();
void refresh();
void moreErrors();
protected:
void changeEvent(QEvent *e);
void paintEvent ( QPaintEvent * event );
private:
Ui::askModErrorDialog *m_ui;
bool isSearch;
void getIniDataReady();
bool iniDataReady, firstPaintDone;
};
#endif // ASKMODERRORDIALOG_H