Engauge Digitizer 2
Loading...
Searching...
No Matches
DlgErrorReportLocal.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2016 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef DLG_ERROR_REPORT_LOCAL_H
8#define DLG_ERROR_REPORT_LOCAL_H
9
11
12class QCheckBox;
13class QPushButton;
14
17{
18 Q_OBJECT;
19
20 public:
22 DlgErrorReportLocal (const QString &xmlWithImage,
23 QWidget *parent = 0);
25
27 QString xmlToUpload() const;
28
29 private slots:
30 void slotDocumentCheckboxChanged(int);
31 void slotSave();
32
33 private:
35
36 void removeFile () const;
37 void updateFile();
38
39 QCheckBox *m_chkOriginal;
40 QPushButton *m_btnSave;
41 QPushButton *m_btnCancel;
42 QString m_xmlOriginal;
43 QString m_xmlAnonymized;
44 QString m_xmlToUpload; // Either m_xmlWithoutDocument or m_xmlWithDocument
45};
46
47#endif // DLG_ERROR_REPORT_LOCAL_H
Base class for dialogs that handle the error report.
Dialog for saving error report for later transmission to the developers.
QString xmlToUpload() const
Xml to be uploaded. Includes document if user has approved.