File indexing completed on 2025-01-26 04:57:25

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "webengineviewer_export.h"
0010 #include <QDialog>
0011 
0012 namespace TextCustomEditor
0013 {
0014 class RichTextEditorWidget;
0015 }
0016 
0017 namespace WebEngineViewer
0018 {
0019 class WEBENGINEVIEWER_EXPORT TrackingDetailsDialog : public QDialog
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit TrackingDetailsDialog(QWidget *parent = nullptr);
0024     ~TrackingDetailsDialog() override;
0025 
0026     void setDetails(const QString &details);
0027 
0028 private:
0029     WEBENGINEVIEWER_NO_EXPORT void writeConfig();
0030     WEBENGINEVIEWER_NO_EXPORT void readConfig();
0031 
0032     TextCustomEditor::RichTextEditorWidget *const mDetails;
0033 };
0034 }