Engauge Digitizer
2
Loading...
Searching...
No Matches
Dlg
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
10
#include "
DlgErrorReportAbstractBase.h
"
11
12
class
QCheckBox;
13
class
QPushButton;
14
16
class
DlgErrorReportLocal
:
public
DlgErrorReportAbstractBase
17
{
18
Q_OBJECT;
19
20
public
:
22
DlgErrorReportLocal
(
const
QString &xmlWithImage,
23
QWidget *parent = 0);
24
~DlgErrorReportLocal
();
25
27
QString
xmlToUpload
()
const
;
28
29
private
slots:
30
void
slotDocumentCheckboxChanged(
int
);
31
void
slotSave();
32
33
private
:
34
DlgErrorReportLocal
();
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
DlgErrorReportAbstractBase.h
DlgErrorReportAbstractBase
Base class for dialogs that handle the error report.
Definition
DlgErrorReportAbstractBase.h:14
DlgErrorReportLocal
Dialog for saving error report for later transmission to the developers.
Definition
DlgErrorReportLocal.h:17
DlgErrorReportLocal::xmlToUpload
QString xmlToUpload() const
Xml to be uploaded. Includes document if user has approved.
Definition
DlgErrorReportLocal.cpp:103
DlgErrorReportLocal::~DlgErrorReportLocal
~DlgErrorReportLocal()
Definition
DlgErrorReportLocal.cpp:65
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0