The DiagnosticsReportDialog class Discussion #644, step 5: "Show what's in it before saving -- the user
is about to attach this to a public tracker." Used for both the after-a-crash offer (QETApp::checkBackupFiles()) and the manual "Help > Diagnostics > Save report" action – the only difference between the two is the intro text and where the content comes from (QetLogger::pendingCrashDumpContents() vs. buildDiagnosticsReport()).
More...
#include <diagnosticsreportdialog.h>
Inherits QDialog.
|
| | DiagnosticsReportDialog (const QString &title, const QString &intro, const QByteArray &content, QWidget *parent=nullptr) |
The DiagnosticsReportDialog class Discussion #644, step 5: "Show what's in it before saving -- the user
is about to attach this to a public tracker." Used for both the after-a-crash offer (QETApp::checkBackupFiles()) and the manual "Help > Diagnostics > Save report" action – the only difference between the two is the intro text and where the content comes from (QetLogger::pendingCrashDumpContents() vs. buildDiagnosticsReport()).
The content passed in is expected to already be redacted (QetLogger::redact()) – this dialog just displays and optionally saves whatever it's given.
◆ DiagnosticsReportDialog()
| DiagnosticsReportDialog::DiagnosticsReportDialog |
( |
const QString & | title, |
|
|
const QString & | intro, |
|
|
const QByteArray & | content, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
◆ saveToFile
| void DiagnosticsReportDialog::saveToFile |
( |
| ) |
|
|
privateslot |
The documentation for this class was generated from the following files: