QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
DiagnosticsReportDialog Class Reference

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.

Collaboration diagram for DiagnosticsReportDialog:
Collaboration graph

Public Member Functions

 DiagnosticsReportDialog (const QString &title, const QString &intro, const QByteArray &content, QWidget *parent=nullptr)

Private Slots

void saveToFile ()

Detailed Description

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.

Constructor & Destructor Documentation

◆ DiagnosticsReportDialog()

DiagnosticsReportDialog::DiagnosticsReportDialog ( const QString & title,
const QString & intro,
const QByteArray & content,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ saveToFile

void DiagnosticsReportDialog::saveToFile ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: