Rewrite the analytics intro text to be less of a wall of text

* Also add a preview of what data will be included in any report, both
  in the intro and in the confirmation before sending any report.
This commit is contained in:
baldurk
2018-01-19 16:33:45 +00:00
parent 65ef82466c
commit 33b3176cd4
8 changed files with 267 additions and 29 deletions
@@ -23,6 +23,7 @@
******************************************************************************/
#include "AnalyticsConfirmDialog.h"
#include <QDesktopServices>
#include <QFontDatabase>
#include <QPushButton>
#include "ui_AnalyticsConfirmDialog.h"
@@ -43,3 +44,15 @@ AnalyticsConfirmDialog::~AnalyticsConfirmDialog()
{
delete ui;
}
void AnalyticsConfirmDialog::on_label_linkActivated(const QString &link)
{
if(link == lit("#documentreport"))
{
Analytics::DocumentReport();
}
else
{
QDesktopServices::openUrl(QUrl(link));
}
}